Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to generate apk

Janaki NarayananJan 8 2018 — edited Jan 10 2018

I followed the same procedure given in the below url http://www.oracle.com/webfolder/technetwork/jet/globalGetStarted.html to install Oracle JET in Mac OS sierra version 10.12

and also installed the android studio 3.0.1 and  sdk. I am able to create the application but unable to generate the apk .The following is the log text.

Apples-MacBook-Pro:testapp2 apple$ ojet build android

Oracle JET CLI

Oracle JET Tooling

cleaning staging path.....

copy files to staging directory.....

copy finished...

copy library files to staging directory.....

copy finished...

optimizing svg into SVG sprites.....

svg task finished...

compiling sass....

sass compile finished...

running theme copy task.....

theme copy finished...

running theme injection task.....

indexHtml theme path injection finished..

injecting index.html with cordova script...

running injection task.....

mainJs paths injection finished..

invoke cordova prepare.....

Android Studio project detected

Error:Error: ENOENT: no such file or directory, open '/Users/apple/testapp1/testapp2/hybrid/platforms/android/assets/www/index.html'

Error:Error: ENOENT: no such file or directory, open '/Users/apple/testapp1/testapp2/hybrid/platforms/android/res/xml/config.xml'

cordova prepare finished....

invoke cordova compile.....

Android Studio project detected

ANDROID_HOME=/Users/apple/adt-bundle-mac-x86_64-20140702/sdk

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home

studio

Cordova compile finished....

Build finished!

I didnt get any apk or unable to serve the application in emulator.The application created in android studio successfully generating apk.

regards,

Janaki

Comments
Post Details
Added on Jan 8 2018
14 comments
746 views