eclipse - Signed android app crashes -


i'm tying publish app on market. after sign apk , install crash before loads activity. i've located following error in logcat

03-24 14:57:03.080: e/androidruntime(4310): java.lang.runtimeexception: unable instantiate activity componentinfo{com.golfboxdk/com.golfboxdk.loginactivity}:  java.lang.classnotfoundexception: didn't find class "com.golfboxdk.loginactivity" on path: dexpathlist[[zip file "/data/app/com.golfboxdk-1.apk"],nativelibrarydirectories=[/data/app-lib/com.golfboxdk-1, /vendor/lib, /system/lib]] 

i've checked manifest , cant figure out whats wrong. app runs smoothly when i'm using unsigned apk.

this start of manifest

package="com.golfboxdk" android:versioncode="5" android:versionname="1.7.2" >  <uses-sdk     android:minsdkversion="9"     android:targetsdkversion="17" />  <uses-permission android:name="android.permission.internet" /> <uses-permission android:name="android.permission.write_external_storage" /> <uses-permission android:name="android.permission.access_network_state" /> <uses-permission android:name="android.permission.access_fine_location" /> <uses-permission android:name="android.permission.access_coarse_location" />  <application     android:name="com.golfboxdk.utils.golfboxapplication"     android:allowbackup="false"     android:icon="@drawable/app_icon"     android:killafterrestore="true"     android:label="@string/app_name"     android:theme="@android:style/theme.light.notitlebar" >     <activity         android:name="com.golfboxdk.loginactivity"         android:label="@string/app_name"         android:launchmode="singletop"         android:screenorientation="portrait" >          <intent-filter>             <action android:name="android.intent.action.main" />              <category android:name="android.intent.category.launcher" />         </intent-filter>      </activity> 

things tried: enabling files under ->project->properties->java build path->order , expert, followed clean. check if proguard activated (it's not)

try following:

  1. project > uncheck build automatically
  2. clean workspace
  3. manually build project
  4. sign apk , send device via bluetooth/wifi/email, etc.
  5. test , release if works

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -