I have generated a react native app and want to use the installed java 11 at source code run time instead of java 8.
In android studio when hovering over react-native-gradle-plugin, it uses java 11 which I installed which java -version in terminal is java 11:
Source code used to run the app still use API 31 java 8:
Is it possible to pack java 11 into android.jar then replace the java 8 in API 31 folder
app/build.gradle:
SDK:
App structure:
Build tools:
from Android app uses API 31 java 8 instead of installed java 11
No comments:
Post a Comment