Editing androidmanifest.XML file in DroidScript

735 views
Skip to first unread message

Durga Prasad

unread,
Jan 24, 2015, 3:19:21 AM1/24/15
to androi...@googlegroups.com
Hello,
1) I have created app using DroidScript. Now I want to do some changes in AndroidManifest.xml file.then need to rebuild the APK again. How can I edit the AndroidManifest.xml in DroidScript?

2) what is the difference between app created in droidscript and Android SDK or eclipse?

Regards,
Durgaprasad.

Christoph Stehl

unread,
Jan 24, 2015, 6:03:53 AM1/24/15
to androi...@googlegroups.com
Dave Smart has already answered your first question here:

You can unpack the apk file with apps like AndroZip edit the AndroidManifest.xml, repack it and resign it with this parameters:
"cn=My Name, ou=MyOrgUnit, o=MyOrg, c=MyCompany" -keystore my-release-key.keystore -alias alias_name -keyalg RSA 
-keysize 2048 -validity 10000 -keypass fred21 -storepass fred21

And for the second question:
DroidScript creates a app which emulate your js code, which is in the app, Android SDK and eclipse only runs the Android code which was programmed by you.
For DroidScript you only need JavaScript or html to write a app, for eclipse or Android SDK you need Android to write a app.

Durga Prasad

unread,
Jan 24, 2015, 7:34:19 AM1/24/15
to androi...@googlegroups.com
Hi Chris,

I can able to unpack the APK.

1) But I am not able to edit the manifest file through notepad or other editor.

2) what tool I can use to resign and repack the edited files?

As I am beginner to android, your guidance will make me go in right way.

Regards,
Durgaprasad.

Christoph Stehl

unread,
Jan 24, 2015, 11:54:32 AM1/24/15
to androi...@googlegroups.com

Dave Smart

unread,
Jan 24, 2015, 1:32:43 PM1/24/15
to androi...@googlegroups.com
Hi Guys,

Editing manifest files is a bit tricky as they are binary encoded.  

I think there are some tools available to do it on Google Play but it is considered a bit of a 'hacker' type activity.

Why do you need to edit the manifest anyway?
Reply all
Reply to author
Forward
0 new messages