views:

251

answers:

1

This is related to my previous post: http://stackoverflow.com/questions/2649422/android-test-app-on-a-real-device

Here is what I did: followed every step to create keystore, sign, zipalign, versioning, labeling and naming my app. Resulted in an .apk file.

Upload my file to tomcat/webapps/ROOT/myapp.apk

changed tomcat/conf/web.xml by adding

<mime-mapping>
<extension>apk</extension>
<mime-type>application/vnd.android.package-archive</mime-type>

Restarted tomcat and send the link to my client.

After my client downloaded the app, it shows "parsing error".

What could be the cause? I did not rename my app, it is the same as the project name.

A: 

I think it might be a problem. My test app has the package name of com.android.myapp. Could it be a problem when my client wants to install it?

What is an efficient way to change the package name and everything inside to com.mycompany.myapp?

Yang
yeah! figured out this is the issue! renamed the entire project and it worked!
Yang