Speak now
Please Wait Image Converting Into Text...
Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Challenge yourself and boost your learning! Start the quiz now to earn credits.
Unlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
General Tech Bugs & Fixes 2 years ago
Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
Turn Your Knowledge into Earnings.
If I follow this steps to create a new app:
Rubens-MacBook-Pro:~ rlopez$ npm install -g cordova ionic Rubens-MacBook-Pro:~ rlopez$ ionic start myApp tabs Rubens-MacBook-Pro:~ rlopez$ cd myApp Rubens-MacBook-Pro:myApp rlopez$ ionic platform add android@6.2.2 //6.1.x has a bug Rubens-MacBook-Pro:myApp rlopez$ ionic build android
I get this output:
> ionic-hello-world@ ionic:build /Users/rlopez/Proyectos/sfp-concursaPy > ionic-app-scripts build [15:13:28] ionic-app-scripts 1.1.4 [15:13:28] build dev started ... [15:13:28] clean started ... [15:13:28] clean finished in 3 ms [15:13:28] copy started ... [15:13:28] transpile started ... [15:13:31] transpile finished in 2.96 s [15:13:31] preprocess started ... [15:13:31] preprocess finished in less than 1 ms [15:13:31] webpack started ... [15:13:31] copy finished in 3.17 s [15:13:41] webpack finished in 9.26 s [15:13:41] sass started ... [15:13:41] sass finished in 897 ms [15:13:41] postprocess started ... [15:13:41] postprocess finished in 1 ms REPLY 0 views 0 likes 0 shares Facebook Twitter Linked In WhatsApp
Got the same error today. Thanks to the comments above, here is how I fixed it.
Ran:
cordova build android --verbose
and it showed me where it got the "Permission Denied" error... In my case it was:
Running command: /usr/libexec/java_home Command finished with error code 0: /usr/libexec/java_home ANDROID_HOME=/Users/mj/phonegap/adt-bundle-mac-x86_64-20140321/sdk JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home Running command: "/Applications/Android Studio.app/Contents/gradle/gradle-2.2.1/bin/gradle" -p /Users/mj/EduceMobile/app/platforms/android wrapper -b /Users/mj/EduceMobile/app/platfo rms/android/wrapper.gradle
To fix, ran:
sudo chmod 755 /Applications/Android\ Studio.app/Contents/gradle/gradle-2.2.1/bin/gradle
...and
... ... :cdvBuildDebug BUILD SUCCESSFUL Total time: 2 mins 44.195 secs
Hope it helps.
No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
General Tech 10 Answers
General Tech 7 Answers
General Tech 3 Answers
General Tech 9 Answers
General Tech 2 Answers
Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.