apk not genrateing in angluar ionic
Budget: ₹100 – ₹400 INR
I am currently experiencing a specific error message when trying to generate the APK for my Angular Ionic project. I can provide the error message for troubleshooting purposes.
Skills and experience required for this project:
- Proficiency in Angular Ionic development
- Experience with troubleshooting APK generation errors
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=C:\Users\fdg\AppData\Local\Android\Sdk (recommended setting)
ANDROID_HOME=C:\Users\fdg\AppData\Local\Android\Sdk (DEPRECATED)
Requirements check failed for JDK 1.8.x! Detected version: 17.0.7
Check your ANDROID_SDK_ROOT / JAVA_HOME / PATH environment variables.
CordovaError: Requirements check failed for JDK 1.8.x! Detected version: 17.0.7
Check your ANDROID_SDK_ROOT / JAVA_HOME / PATH environment variables.
at Object.module.exports.check_java (C:\ionic\fdg\platforms\android\cordova\lib\check_reqs.js:145:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Promise.all (index 0)
[ERROR] An error occurred while running subprocess cordova.
cordova.cmd build android --verbose exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
ionic:utils-process onBeforeExit handler: 'process.exit' received +0ms fix
Skills and experience required for this project:
- Proficiency in Angular Ionic development
- Experience with troubleshooting APK generation errors
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=C:\Users\fdg\AppData\Local\Android\Sdk (recommended setting)
ANDROID_HOME=C:\Users\fdg\AppData\Local\Android\Sdk (DEPRECATED)
Requirements check failed for JDK 1.8.x! Detected version: 17.0.7
Check your ANDROID_SDK_ROOT / JAVA_HOME / PATH environment variables.
CordovaError: Requirements check failed for JDK 1.8.x! Detected version: 17.0.7
Check your ANDROID_SDK_ROOT / JAVA_HOME / PATH environment variables.
at Object.module.exports.check_java (C:\ionic\fdg\platforms\android\cordova\lib\check_reqs.js:145:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Promise.all (index 0)
[ERROR] An error occurred while running subprocess cordova.
cordova.cmd build android --verbose exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
ionic:utils-process onBeforeExit handler: 'process.exit' received +0ms fix
Related categories:
Business, Accounting, Human Resources & Legal
Mobile App Development
Android
PhoneGap
AngularJS