java - Unfortunately, appname is stopped -
i working on android game , when code executed in android device, shows "unfortunately, appname has stop working"
here logcat 06-27 17:29:08.254: d/androidruntime(704): shutting down vm 06-27 17:29:08.254: w/dalvikvm(704): threadid=1: thread exiting uncaught exception (group=0x2ba041f8) 06-27 17:29:08.264: w/system.err(704): java.lang.runtimeexception: unable destroy activity {com.rookiegames.sher/com.rookiegames.sher.playactivity}: java.lang.illegalargumentexception: service not registered: com.rookiegames.sher.inappbilling.util.iabhelper$1@2c0c5198 06-27 17:29:08.264: w/system.err(704): @ android.app.activitythread.performdestroyactivity(activitythread.java:3112) 06-27 17:29:08.274: w/system.err(704): @ android.app.activitythread.handledestroyactivity(activitythread.java:3130) 06-27 17:29:08.274: w/system.err(704): @ android.app.activitythread.access$1200(activitythread.java:123) 06-27 17:29:08.274: w/system.err(704): @ android.app.activitythread$h.handlemessage(activitythread.java:1180) 06-27 17:29:08.274: w/system.err(704): @ android.os.handler.dispatchmessage(handler.java:99) 06-27 17:29:08.274: w/system.err(704): @ android.os.looper.loop(looper.java:137) 06-27 17:29:08.274: w/system.err(704): @ android.app.activitythread.main(activitythread.java:4424) 06-27 17:29:08.284: w/system.err(704): @ java.lang.reflect.method.invokenative(native method) 06-27 17:29:08.284: w/system.err(704): @ java.lang.reflect.method.invoke(method.java:511) 06-27 17:29:08.294: w/system.err(704): @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:784) 06-27 17:29:08.294: w/system.err(704): @ com.android.internal.os.zygoteinit.main(zygoteinit.java:551) 06-27 17:29:08.294: w/system.err(704): @ dalvik.system.nativestart.main(native method) 06-27 17:29:08.294: w/system.err(704): caused by: java.lang.illegalargumentexception: service not registered: com.rookiegames.sher.inappbilling.util.iabhelper$1@2c0c5198 06-27 17:29:08.304: w/system.err(704): @ android.app.loadedapk.forgetservicedispatcher(loadedapk.java:888) 06-27 17:29:08.304: w/system.err(704): @ android.app.contextimpl.unbindservice(contextimpl.java:1147) 06-27 17:29:08.304: w/system.err(704): @ android.content.contextwrapper.unbindservice(contextwrapper.java:375) 06-27 17:29:08.314: w/system.err(704): @ com.rookiegames.sher.inappbilling.util.iabhelper.dispose(iabhelper.java:294) 06-27 17:29:08.314: w/system.err(704): @ com.rookiegames.sher.playactivity.ondestroy(playactivity.java:243) 06-27 17:29:08.314: w/system.err(704): @ android.app.activity.performdestroy(activity.java:4629) 06-27 17:29:08.314: w/system.err(704): @ android.app.instrumentation.callactivityondestroy(instrumentation.java:1079)
manifest
package="com.rookiegames.sher" android:installlocation="auto" android:versioncode="6" android:versionname="1.0" > <uses-sdk android:minsdkversion="8" android:targetsdkversion="16" /> <!-- store db on sd card --> <uses-permission android:name="android.permission.internet" /> <uses-permission android:name="android.permission.read_phone_state" /> <uses-permission android:name="android.permission.access_network_state" /> <uses-permission android:name="android.permission.write_external_storage" /> <uses-permission android:name="android.permission.access_wifi_state" /> <!-- use gp billing --> <uses-permission android:name="com.android.vending.billing" /> <application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/apptheme.notitle" > <activity android:name="com.rookiegames.sher.startactivity" android:label="@string/app_name" android:screenorientation="portrait" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name="com.millennialmedia.android.mmactivity" android:theme="@android:style/theme.translucent.notitlebar" android:configchanges="keyboardhidden|orientation|keyboard" ></activity> <activity android:name="com.rookiegames.sher.categoriesactivity" android:configchanges="keyboardhidden|orientation" android:screenorientation="portrait" android:theme="@style/appbasetheme.notitle" > </activity> <activity android:name="com.rookiegames.sher.levelsactivity" android:configchanges="keyboardhidden|orientation" android:screenorientation="portrait" android:theme="@style/appbasetheme.notitle" > </activity> <activity android:name="com.rookiegames.sher.wordsactivity" android:configchanges="keyboardhidden|orientation" android:screenorientation="portrait" android:theme="@style/appbasetheme.notitle" > </activity> <activity android:name="com.rookiegames.sher.playactivity" android:configchanges="keyboardhidden|orientation" android:screenorientation="portrait" android:theme="@style/appbasetheme.notitle" > </activity> <activity android:name="com.tapjoy.tjcofferswebview" android:configchanges="keyboardhidden|orientation" /> <activity android:name="com.tapjoy.tapjoyfullscreenadwebview" android:configchanges="keyboardhidden|orientation" /> <activity android:name="com.tapjoy.tapjoydailyrewardadwebview" android:configchanges="keyboardhidden|orientation" /> <activity android:name="com.tapjoy.tapjoyvideoview" android:configchanges="keyboardhidden|orientation" /> <activity android:name="net.hockeyapp.android.updateactivity" /> <activity android:name="com.flurry.android.flurryfullscreentakeoveractivity" android:configchanges="keyboard|keyboardhidden|orientation|screenlayout|uimode">
no question, no code? please ask problem , please post relevant code. far can see, seems issue on iabhelper class:
caused by: java.lang.illegalargumentexception: service not registered: com.rookiegames.sher.inappbilling.util.iabhelper$1@2c0c5198
here post this.
Comments
Post a Comment