Ich habe eine App mit der Reaktion native erstellt und ich versuche, die apk zu generieren. Nachdem Sie alles im Doc von http://facebook.github.io/react-native/docs/signed-apk-android.html#content getan haben. Ein Fehler ist aufgetreten und es wird angezeigt Skript konnte nicht react-native \ react.gradle 'gelesen werden, da es nicht existiert.react-native react.gradle 'existiert nicht
Hier ist der Fehler
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\User\Desktop\Aaa\android\app\build.gradle' line: 68
* What went wrong:
A problem occurred evaluating project ':app'.
> Could not read script 'C
* // override which node gets called and with what additional arguments
* nodeExecutableAndArgs: ["node"],
*
* // supply additional arguments to the packager
* extraPackagerArgs: []
* ]
*/
apply from: "../../node_modules/react-native/react.gradle"
/**
* Set this to true to create two separate APKs instead of one:
* - An APK that only works on ARM devices
* - An APK that only works on x86 devices
* The advantage is the size of the APK is reduced by about 4MB.
* Upload all the APKs to the Play Store and people will download
* the correct one based on the CPU architecture of their device.
*/
def enableSeparateBuildPerCPUArchitecture = false
Kannst du deine grddle-Konfiguration unter android/app/build.gradle einfügen? –
alles @ max23_? – orange
Wahrscheinlich von Linie 60 bis Linie 70? (da es sich in Zeile 68 beschwert) –