apache / cordova-android

Apache Cordova Android
https://cordova.apache.org/
Apache License 2.0
3.59k stars 1.52k forks source link

How can I get my code after the app has neen builded for android? #1629

Closed velllu closed 10 months ago

velllu commented 10 months ago

I tried unzipping the .apk, i can see a www folder, but there's no js folder inside

Typo in the title, I meant "been"

breautek commented 10 months ago

the src www folder will be inside the assets directory.

Whether a js folder exists depends on the structure of your www folder. At the very minimum you should see assets/www/cordova.js and assets/www/cordova_plugins.js

Also note that after an APK is signed/zip aligned, simply unzipping the contents may yield corrupt files. After an APK is zip aligned, the memory bits is formatted specifically to be read by Android OS.

Closing as not an issue.