Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

275
Vistas
Cannot get property 'ndkVersion' on extra properties extension as it does not exist with... react-native 0.64.0

Upgrading from react-native 0.63.4 to 0.64.0

My steps:

  1. npx react-native run-android to version 0.64.0 - this step succeeded

2.npx react-native upgrade - this step succeeded

  1. npx react-native run-android - this step failed with following 2 errors:

BTW everything works just fine on iOS simulator.

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

You'll need to add the ndkVersion to the android/build.gradle file in buildscript.ext, should look similar to that

buildscript {
    ext {
        ndkVersion = xxx //<-- Add this
        buildToolsVersion = xxx
        minSdkVersion = xxx
        compileSdkVersion = xxx
        targetSdkVersion = xxx
    }
    ... 
over 4 years ago · Santiago Trujillo Denunciar

0

From my own experience, after migrating 2 very large RN apps (with at least 20 different libraries with linking included) I've concluded that the next solution is the safest but the slowest solution:

So on trying to implement npx react-native upgrade I got warnings/errors which tell that upgrade couldn't succeed - that could happen due to files where I had committed some changes. The solution is to create a brand new React Native project (better to create with the same bundle id/name as your current) and to copy/paste the source code from the previous project into the brand new one and after that to link each library one-by-one and make one-by-one build after each library so you keep track of whole process and don't get a large list of errors coming from any of them on app build.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda