Extra Stuff in Android Builds

Ok Guys,

I dont think this is intentional, it looks like a blanket include of 3rd party libraries…

I’m doing a new release of my Colorado Ski and Snow Resort information app for android - and modifying the android manifest as described by base2solutions forums postings - and I find a lot of extra stuff included in the app that I did not ask for, or use…

Corona Apps are bigger than native apps usually - so we dont need the extra weight eh? Im not using papaya, video or camera, or superrewards…

Thanks for a great product.



























[import]uid: 9070 topic_id: 18877 reply_id: 318877[/import]

Sorry - forgot to note - build 703. [import]uid: 9070 topic_id: 18877 reply_id: 72714[/import]

we are aware that some stuff gets into the apk and we are working on removing them to make the apk leaner if certain features are not used.

c. [import]uid: 24 topic_id: 18877 reply_id: 72752[/import]

+1 this thread. I really would like to just include a folder in our project manually instead of having it built in. All those extra features take up about 3mb. Especially on Android, consumers are very concerned about file size. This should be a top priority fix, mostly because it’s a pain to have to rebuild your corona project in the Android SDK.

Regards,
Jordan Schuetz
Ninja Pig Studios [import]uid: 29181 topic_id: 18877 reply_id: 72835[/import]

Talking about the manifest, as a trail user I built a number of the sample apps. I thought err expected the Corona tool to generate the android manifest but I do not see it.

As of yet I have not been able to install any example apps and the java error I see on my ASUS eee pad Transformer event display indicates an issue with the manifest–not finding a security certificate. I have the tablets development options turned on so it will accept just about anything, but I am thinking this install problem might be due to this.

Any advise would be appreciated. My simple development path would be to load a corona example app, build it, take the resulting .apk file and move it to a webserver where I download it with my tablet (ASUS). And try to install it – where it says app install failed.

I wish I could copy / paste the java messages but the event reader sadly does not let me do this.

kind regards,

Ed [import]uid: 108994 topic_id: 18877 reply_id: 73822[/import]

I’m trying to optimize my Corona apps in terms of size and figured out that removing the not use permissions from the manifest file and then deleting the corresponding folders from the res directory works quite fine.
But I want to make sure, that my app is not producing lots of errors in the background.
@Jordan: How did you rebuild your app in the Android SDK? I got the SDK up and running but I’m not sure how to rebuild. Just create a new project and rebuild? Did you experience any side effects?

Cheers,
Ckris [import]uid: 87749 topic_id: 18877 reply_id: 77318[/import]

Sorry Chris,

You actually don’t need to rebuild you application in the Android SDK. You just need APKTOOL, then in the command line, you have to unpack it, delete the necessary files, then repack it all through APKTOOL.

Regards,
Jordan Schuetz
Ninja Pig Studios [import]uid: 29181 topic_id: 18877 reply_id: 77364[/import]

OK, thanks Jordan!
Hopefully, the new feature Carlos mentioned is implemented soon.

Cheers,
Ckris [import]uid: 87749 topic_id: 18877 reply_id: 78051[/import]