@fahd123 wrote:
When i run ionic cordova build android i have this problem
Android Studio project detected
ANDROID_HOME=C:\platform_tools
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_231
studio
Subproject Path: CordovaLib
Subproject Path: appFAILURE: Build failed with an exception.
Where:
Script ‘C:\Users\Youssef\Desktop\test\App\platforms\android\CordovaLib\cordova.gradle’ line: 68What went wrong:
A problem occurred evaluating project ‘:CordovaLib’.No installed build tools found. Install the Android build tools version 19.1.0 or higher.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.Get more help at https://help.gradle.org
BUILD FAILED in 2s
cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
Where:
Script ‘C:\Users\Youssef\Desktop\test\App\platforms\android\CordovaLib\cordova.gradle’ line: 68What went wrong:
A problem occurred evaluating project ‘:CordovaLib’.No installed build tools found. Install the Android build tools version 19.1.0 or higher.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.Get more help at https://help.gradle.org
BUILD FAILED in 2s
[ERROR] An error occurred while running subprocess cordova.cordova.cmd build android exited with exit code 1. Re-running this command with the --verbose flag may provide more information.
ionic info
Ionic: Ionic CLI : 5.4.5 (C:\Users\Youssef\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : @ionic/angular 4.11.3 @angular-devkit/build-angular : 0.801.3 @angular-devkit/schematics : 8.1.3 @angular/cli : 8.1.3 @ionic/angular-toolkit : 2.0.0 Cordova: Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 7.1.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 4 other plugins) Utility: cordova-res : 0.8.1 native-run : 0.2.9 System: NodeJS : v12.13.0 (C:\Program Files\nodejs\node.exe) npm : 6.12.1 OS : Windows 10
And when I installed apk in my phone it was white screen
please help me
Posts: 1
Participants: 1