Reported Java Error
Closed this issue · 1 comments
aestrro commented
After running through integrating this with IOS successfully, I'm getting this error when I run react-native run-android
. As you have suggested, I've changed my ../android/app/build.gradle to include:
apply plugin: "java"
apply plugin: "com.android.application"
...
When I do that, however, it results in the following error. Do you have any idea why?
* What went wrong:
A problem occurred configuring project ':app'.
> The 'java' plugin has been applied, but it is not compatible with the Android plugins.
aestrro commented
This is unnecessary to fix, truly it's a verbiage issue and I assumed you needed to add this apply plugin: "java"
at the top. For react-native you do not, from trail and error and seemingly cannot have both **com.android.applicaiton**
and **java**
.
Thanks again, I have verified both Android and IOS will work with your directions