Answer the question
In order to leave comments, you need to log in
Error while publishing Android app
I'm having the following problem: I have an application that consists of two related projects: the main one and the android port. I collect the port for android with ant, and I sign it with it. The apk file is normally created, when you drop this file on the device and run, the application installs and works normally. But when the application is published on Google Play, a message appears at startup about the unexpected termination of the program. logcat shows
<target name="build.free.nohd" depends="make.symlinks.free.nohd">
<mkdir dir="${export.path}"/>
<exec command="${android.command.dir}/android update project -p ${android.free.nohd}"/>
<exec command="ant release" dir="${android.free.nohd}"/>
<exec command="jarsigner -keystore ${keystore.name} -signedjar ${android.free.nohd.release}.noalign -storepass ${keystore.pass} -keypass ${alias.pass} ${android.free.nohd.nosign} ${alias.name}"/>
<exec command="${android.command.dir}/zipalign -f -v 4 ${android.free.nohd.release}.noalign ${android.free.nohd.release}"/>
</target>
Answer the question
In order to leave comments, you need to log in
I had a similar error when I made a build for a pure android, and not for an android from Google. Check if all the libraries you are using are in the build (stupidly checkboxes in the project properties for libraries). And also check the package if the path is correct.
.Activity has the path "from package", com.path.Activity has the full path.
do you use proguard? problems with loading classes arose a couple of times and all times were during experiments with the proguard ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question