![react native run android emulator mac ndk is missing a platforms directory react native run android emulator mac ndk is missing a platforms directory](https://www.codegrepper.com/codeimages/how-to-run-a-cloned-react-native-project.png)
Run with -info or -debug option to get more log output.Ĭould not install the app on the device, read the error above for details. Run with -stacktrace option to get the stack trace. > Project :app declares a dependency from configuration '_debugApkCopy' to configuration 'default' which is not declared in the descriptor for project :react-native-image-picker. Please use the method tDestination(File) instead.įile /Users/lvyongfei/.android/repositories.cfg could not be loaded.Ī problem occurred configuring project ':app'.Ĭould not resolve all dependencies for configuration ':app:_debugApkCopy'.Ĭould not resolve project :react-native-image-picker. The tDestination(Object) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the getTestClassesDirs() method instead. Expected Behavior I expect it to work, like it does when I call react-native run-ios Observed Behavior react-native run-android Scanning folders for sym. The getTestClassesDir() method has been deprecated and is scheduled to be removed in Gradle 5.0. Description I trying to first run an react-native app with react-native run-android. Please use the setTestClassesDirs(FileCollection) method instead. The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the CompileOptions.bootstrapClasspath property instead. To run your app on iOS: cd /Users/mraible/OktaRN react-native run-ios - or - Open ios/OktaRN. The CompileOptions.bootClasspath property has been deprecated and is scheduled to be removed in Gradle 5.0. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.Ĭonfigure project :react-native-image-crop-picker
![react native run android emulator mac ndk is missing a platforms directory react native run android emulator mac ndk is missing a platforms directory](https://venturebeat.com/wp-content/uploads/2019/04/chrome-remove-animations.png)
It is currently set to /Users/lvyongfei/Library/Android/sdk/ndk-bundle. If you are using NDK, verify the ndk.dir is set to a valid NDK directory.