I followed this instructions to setup android requirements and initiate a project with react-native. When I try to run the application using the command react-native run-android
, it keeps showing this error then exiting the process.
/path/to/native/android/app/src/main/java/com/native/MainActivity.java:1: error: <identifier> expected
package com.native;
^
The package name should not be a language tag. Try the other keyword for the package Like
package com.nativeapp
or package com.appnative
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With