Just bought PhoneGap 2.x Mobile Application Development Hotshot book to improve my knowledge working with PhoneGap and try to run some apps from the book. I downloaded whose apps from their github repository (https://github.com/photokandyStudios/PhoneGap-HotShot-Book-Code-Bundle) and, for example, tried to run first app from Chapter1 (QuizApp). Imported that whole folder with Eclipse(Import > Existing Android Code Into Workspace) and when I try to run it on my emulator or on my real Android device, it just stops working and shuts down. Looks like everything is in their right places, but nothing.
Here I will provide my LogCat information:
07-26 15:24:51.418: E/Trace(853): error opening trace file: No such file or directory (2)
07-26 15:24:51.688: W/dalvikvm(853): Unable to resolve superclass of Lcom/phonegaphotshot/QuizTime/QuizTime; (15)
07-26 15:24:51.688: W/dalvikvm(853): Link of class 'Lcom/phonegaphotshot/QuizTime/QuizTime;' failed
07-26 15:24:51.718: D/AndroidRuntime(853): Shutting down VM
07-26 15:24:51.718: W/dalvikvm(853): threadid=1: thread exiting with uncaught exception (group=0x40a13300)
07-26 15:24:51.798: E/AndroidRuntime(853): FATAL EXCEPTION: main
07-26 15:24:51.798: E/AndroidRuntime(853): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.phonegaphotshot.QuizTime/com.phonegaphotshot.QuizTime.QuizTime}: java.lang.ClassNotFoundException: com.phonegaphotshot.QuizTime.QuizTime
07-26 15:24:51.798: E/AndroidRuntime(853): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1983)
07-26 15:24:51.798: E/AndroidRuntime(853): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
07-26 15:24:51.798: E/AndroidRuntime(853): at android.app.ActivityThread.access$600(ActivityThread.java:130)
07-26 15:24:51.798: E/AndroidRuntime(853): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
07-26 15:24:51.798: E/AndroidRuntime(853): at android.os.Handler.dispatchMessage(Handler.java:99)
07-26 15:24:51.798: E/AndroidRuntime(853): at android.os.Looper.loop(Looper.java:137)
07-26 15:24:51.798: E/AndroidRuntime(853): at android.app.ActivityThread.main(ActivityThread.java:4745)
07-26 15:24:51.798: E/AndroidRuntime(853): at java.lang.reflect.Method.invokeNative(Native Method)
07-26 15:24:51.798: E/AndroidRuntime(853): at java.lang.reflect.Method.invoke(Method.java:511)
07-26 15:24:51.798: E/AndroidRuntime(853): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
07-26 15:24:51.798: E/AndroidRuntime(853): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
07-26 15:24:51.798: E/AndroidRuntime(853): at dalvik.system.NativeStart.main(Native Method)
07-26 15:24:51.798: E/AndroidRuntime(853): Caused by: java.lang.ClassNotFoundException: com.phonegaphotshot.QuizTime.QuizTime
07-26 15:24:51.798: E/AndroidRuntime(853): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
07-26 15:24:51.798: E/AndroidRuntime(853): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
07-26 15:24:51.798: E/AndroidRuntime(853): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
07-26 15:24:51.798: E/AndroidRuntime(853): at android.app.Instrumentation.newActivity(Instrumentation.java:1053)
07-26 15:24:51.798: E/AndroidRuntime(853): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1974)
07-26 15:24:51.798: E/AndroidRuntime(853): ... 11 more
Thanks for any help
Solved it! If someone having similar problem, just do this step by step:
Right click on Cordovaxxx.jar -> Configure Build Path in Tab Order and Export and make sure these ones are selected:
1. Android (in my case was Adnroid 4.1.2)
2. Android Dependencies
3. Cordova....
4. ..../src
5. ..../gen
Related
I am trying to integrate the MuPDF jar in my project but after integrating and running my app I'm getting the above exception. These are my crash logs in the logcat:
07-26 16:26:18.608: W/dalvikvm(27233): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/artifex/mupdfdemo/MuPDFCore;
07-26 16:11:49.328: E/AndroidRuntime(25410): FATAL EXCEPTION: main
07-26 16:11:49.328: E/AndroidRuntime(25410): java.lang.ExceptionInInitializerError
07-26 16:11:49.328: E/AndroidRuntime(25410): at com.artifex.mupdfdemo.MuPDFActivity.openFile(MuPDFActivity.java:209)
07-26 16:11:49.328: E/AndroidRuntime(25410): at com.artifex.mupdfdemo.MuPDFActivity.onCreate(MuPDFActivity.java:306)
07-26 16:11:49.328: E/AndroidRuntime(25410): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
07-26 16:11:49.328: E/AndroidRuntime(25410): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
07-26 16:11:49.328: E/AndroidRuntime(25410): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
07-26 16:11:49.328: E/AndroidRuntime(25410): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
07-26 16:11:49.328: E/AndroidRuntime(25410): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
07-26 16:11:49.328: E/AndroidRuntime(25410): at android.os.Handler.dispatchMessage(Handler.java:99)
07-26 16:11:49.328: E/AndroidRuntime(25410): at android.os.Looper.loop(Looper.java:123)
07-26 16:11:49.328: E/AndroidRuntime(25410): at android.app.ActivityThread.main(ActivityThread.java:3683)
07-26 16:11:49.328: E/AndroidRuntime(25410): at java.lang.reflect.Method.invokeNative(Native Method)
07-26 16:11:49.328: E/AndroidRuntime(25410): at java.lang.reflect.Method.invoke(Method.java:507)
07-26 16:11:49.328: E/AndroidRuntime(25410): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
07-26 16:11:49.328: E/AndroidRuntime(25410): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
07-26 16:11:49.328: E/AndroidRuntime(25410): at dalvik.system.NativeStart.main(Native Method)
07-26 16:11:49.328: E/AndroidRuntime(25410): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load mupdf: findLibrary returned null
07-26 16:11:49.328: E/AndroidRuntime(25410): at java.lang.Runtime.loadLibrary(Runtime.java:429)
07-26 16:11:49.328: E/AndroidRuntime(25410): at java.lang.System.loadLibrary(System.java:554)
07-26 16:11:49.328: E/AndroidRuntime(25410): at com.artifex.mupdfdemo.MuPDFCore.<clinit>(MuPDFCore.java:14)
07-26 16:11:49.328: E/AndroidRuntime(25410): ... 15 more
I have put the mupdf_4.jar in my libs folder and set it in the Java Build Path as well. Could you please let me know how to solve this problem?
Thank you.
I downloaded google map api v2 sample and followed official tutorial on google website (installed and added google play services) but i got NoClassDefFoundError error when run sample as below
07-26 02:01:04.821: I/Process(620): Sending signal. PID: 620 SIG: 9
07-26 02:01:18.559: W/dalvikvm(682): Unable to resolve superclass of Lcom/example/mapdemo/BasicMapActivity; (80)
07-26 02:01:18.559: W/dalvikvm(682): Link of class 'Lcom/example/mapdemo/BasicMapActivity;' failed
07-26 02:01:18.559: E/dalvikvm(682): Could not find class 'com.example.mapdemo.BasicMapActivity', referenced from method com.example.mapdemo.MainActivity.<clinit>
07-26 02:01:18.559: W/dalvikvm(682): VFY: unable to resolve const-class 128 (Lcom/example/mapdemo/BasicMapActivity;) in Lcom/example/mapdemo/MainActivity;
07-26 02:01:18.559: D/dalvikvm(682): VFY: replacing opcode 0x1c at 0x000d
07-26 02:01:18.658: W/dalvikvm(682): Exception Ljava/lang/NoClassDefFoundError; thrown while initializing Lcom/example/mapdemo/MainActivity;
07-26 02:01:18.658: W/dalvikvm(682): Class init failed in newInstance call (Lcom/example/mapdemo/MainActivity;)
07-26 02:01:18.676: D/AndroidRuntime(682): Shutting down VM
07-26 02:01:18.676: W/dalvikvm(682): threadid=1: thread exiting with uncaught exception (group=0x40014760)
07-26 02:01:18.791: E/AndroidRuntime(682): FATAL EXCEPTION: main
07-26 02:01:18.791: E/AndroidRuntime(682): java.lang.ExceptionInInitializerError
07-26 02:01:18.791: E/AndroidRuntime(682): at java.lang.Class.newInstanceImpl(Native Method)
07-26 02:01:18.791: E/AndroidRuntime(682): at java.lang.Class.newInstance(Class.java:1301)
07-26 02:01:18.791: E/AndroidRuntime(682): at android.app.Instrumentation.newActivity(Instrumentation.java:1022)
07-26 02:01:18.791: E/AndroidRuntime(682): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1663)
07-26 02:01:18.791: E/AndroidRuntime(682): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1764)
07-26 02:01:18.791: E/AndroidRuntime(682): at android.app.ActivityThread.access$1500(ActivityThread.java:122)
07-26 02:01:18.791: E/AndroidRuntime(682): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1002)
07-26 02:01:18.791: E/AndroidRuntime(682): at android.os.Handler.dispatchMessage(Handler.java:99)
07-26 02:01:18.791: E/AndroidRuntime(682): at android.os.Looper.loop(Looper.java:132)
07-26 02:01:18.791: E/AndroidRuntime(682): at android.app.ActivityThread.main(ActivityThread.java:4025)
07-26 02:01:18.791: E/AndroidRuntime(682): at java.lang.reflect.Method.invokeNative(Native Method)
07-26 02:01:18.791: E/AndroidRuntime(682): at java.lang.reflect.Method.invoke(Method.java:491)
07-26 02:01:18.791: E/AndroidRuntime(682): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
07-26 02:01:18.791: E/AndroidRuntime(682): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
07-26 02:01:18.791: E/AndroidRuntime(682): at dalvik.system.NativeStart.main(Native Method)
07-26 02:01:18.791: E/AndroidRuntime(682): Caused by: java.lang.NoClassDefFoundError: com.example.mapdemo.BasicMapActivity
07-26 02:01:18.791: E/AndroidRuntime(682): at com.example.mapdemo.MainActivity.<clinit>(MainActivity.java:100)
07-26 02:01:18.791: E/AndroidRuntime(682): ... 15 more
07-26 02:06:18.960: I/Process(682): Sending signal. PID: 682 SIG: 9
I got google api key by combine SHA 1 fingerprint at "Window > Preferences > Android > Build > SHA 1 fingerprint" with google sample package name "com.example.mapdemo"
Please help me, sorry for my english, thanks very much.
I changed target sdk and emulator is 4.0, that error is disappeared but i got a new is "Google play services is missiong".
Then, i changed target sdk and emulator is 4.2.2, i got error "google play services out of date. requires 3159100 but found 3136130"
Please help me.
Go to "Properties" of the project.
Select "Java Build Path"
Select "Order and Export" Tab
You should see the selected project's "src" and "gen" paths and dependencies here.
The order how they listed were first "src" and then "gen" path
I switch them, so that "gen" folder is build before the "src"
reference https://stackoverflow.com/a/12702315/2398886
Still look at the Properties, instead of switch the positions, try to select all the libs.
I did this and it solves my problem.
Notice: You can run the Map API sample code now, but the Google Map app in emulator still shows nothing. If you want to run this app, you need to install Google Play Service app first.
I´m trying to install the ZXing QR capture app for testing but I´m getting the error:
07-26 20:15:22.667: E/AndroidRuntime(29355): FATAL EXCEPTION: main
07-26 20:15:22.667: E/AndroidRuntime(29355): java.lang.ExceptionInInitializerError
07-26 20:15:22.667: E/AndroidRuntime(29355): at java.lang.Class.newInstanceImpl(Native Method)
07-26 20:15:22.667: E/AndroidRuntime(29355): at java.lang.Class.newInstance(Class.java:1319)
07-26 20:15:22.667: E/AndroidRuntime(29355): at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
07-26 20:15:22.667: E/AndroidRuntime(29355): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1882)
07-26 20:15:22.667: E/AndroidRuntime(29355): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)
07-26 20:15:22.667: E/AndroidRuntime(29355): at android.app.ActivityThread.access$600(ActivityThread.java:127)
07-26 20:15:22.667: E/AndroidRuntime(29355): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
07-26 20:15:22.667: E/AndroidRuntime(29355): at android.os.Handler.dispatchMessage(Handler.java:99)
07-26 20:15:22.667: E/AndroidRuntime(29355): at android.os.Looper.loop(Looper.java:137)
07-26 20:15:22.667: E/AndroidRuntime(29355): at android.app.ActivityThread.main(ActivityThread.java:4441)
07-26 20:15:22.667: E/AndroidRuntime(29355): at java.lang.reflect.Method.invokeNative(Native Method)
07-26 20:15:22.667: E/AndroidRuntime(29355): at java.lang.reflect.Method.invoke(Method.java:511)
07-26 20:15:22.667: E/AndroidRuntime(29355): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
07-26 20:15:22.667: E/AndroidRuntime(29355): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
07-26 20:15:22.667: E/AndroidRuntime(29355): at dalvik.system.NativeStart.main(Native Method)
07-26 20:15:22.667: E/AndroidRuntime(29355): Caused by: java.lang.NoClassDefFoundError: com.google.zxing.ResultMetadataType
07-26 20:15:22.667: E/AndroidRuntime(29355): at com.google.zxing.client.android.CaptureActivity.<clinit>(CaptureActivity.java:107)
07-26 20:15:22.667: E/AndroidRuntime(29355): ... 15 more
Some idea?
You are trying to use code in the core/ library but did not put it into your app. But, you don't even need this code. This is by far the simplest way to add scanning: http://code.google.com/p/zxing/wiki/ScanningViaIntent
Is the class com.google.zxing.ResultMetadataType in your build path?
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
07-26 13:32:38.705: ERROR/Zygote(32): setreuid() failed. errno: 2
07-26 13:32:46.206: ERROR/Zygote(32): setreuid() failed. errno: 17
07-26 13:32:47.526: ERROR/BatteryService(58): usbOnlinePath not found
07-26 13:32:47.526: ERROR/BatteryService(58): batteryVoltagePath not found
07-26 13:32:47.526: ERROR/BatteryService(58): batteryTemperaturePath not found
07-26 13:32:47.556: ERROR/SurfaceFlinger(58): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
07-26 13:32:54.275: ERROR/EventHub(58): could not get driver version for /dev/input/mouse0, Not a typewriter
07-26 13:32:54.285: ERROR/EventHub(58): could not get driver version for /dev/input/mice, Not a typewriter
07-26 13:32:54.496: ERROR/System(58): Failure starting core service
07-26 13:32:54.496: ERROR/System(58): java.lang.SecurityException
07-26 13:32:54.496: ERROR/System(58): at android.os.BinderProxy.transact(Native Method)
07-26 13:32:54.496: ERROR/System(58): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
07-26 13:32:54.496: ERROR/System(58): at android.os.ServiceManager.addService(ServiceManager.java:72)
07-26 13:32:54.496: ERROR/System(58): at com.android.server.ServerThread.run(SystemServer.java:184)
07-26 13:32:55.756: ERROR/SoundPool(58): error loading /system/media/audio/ui/Effect_Tick.ogg
07-26 13:32:55.765: ERROR/SoundPool(58): error loading /system/media/audio/ui/KeypressStandard.ogg
07-26 13:32:55.775: ERROR/SoundPool(58): error loading /system/media/audio/ui/KeypressSpacebar.ogg
07-26 13:32:55.795: ERROR/SoundPool(58): error loading /system/media/audio/ui/KeypressDelete.ogg
07-26 13:32:55.804: ERROR/SoundPool(58): error loading /system/media/audio/ui/KeypressReturn.ogg
07-26 13:32:59.184: ERROR/ThrottleService(58): Could not open GPS configuration file /etc/gps.conf
07-26 13:33:00.706: ERROR/logwrapper(148): executing /system/bin/tc failed: No such file or directory
07-26 13:33:00.764: ERROR/logwrapper(149): executing /system/bin/tc failed: No such file or directory
07-26 13:33:00.815: ERROR/logwrapper(150): executing /system/bin/tc failed: No such file or directory
07-26 13:33:12.188: ERROR/HierarchicalStateMachine(58): TetherMaster - unhandledMessage: msg.what=3
07-26 13:34:04.617: ERROR/AndroidRuntime(276): FATAL EXCEPTION: main
07-26 13:34:04.617: ERROR/AndroidRuntime(276): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dataApplication/com.dataApplication.Edit}: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list'
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at android.os.Handler.dispatchMessage(Handler.java:99)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at android.os.Looper.loop(Looper.java:123)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at android.app.ActivityThread.main(ActivityThread.java:4627)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at java.lang.reflect.Method.invokeNative(Native Method)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at java.lang.reflect.Method.invoke(Method.java:521)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at dalvik.system.NativeStart.main(Native Method)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list'
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at android.app.ListActivity.onContentChanged(ListActivity.java:245)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:201)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at android.app.Activity.setContentView(Activity.java:1647)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at com.dataApplication.Edit.onCreate(Edit.java:32)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
07-26 13:34:04.617: ERROR/AndroidRuntime(276): ... 11 more
java.lang.RuntimeException:
Your content must have a ListView whose id attribute is 'android.R.id.list'
Make sure your view file has a ListView element, with android:id="#android:id/list".
This is how the ListActivity knows where to display the data you're adding.
From http://developer.android.com/reference/android/app/ListActivity.html
ListActivity has a default layout that consists of a single, full-screen list in the center of the screen. However, if you desire, you can customize the screen layout by setting your own view layout with setContentView() in onCreate(). To do this, your own view MUST contain a ListView object with the id "#android:id/list" (or list if it's in code)
Check if you have "#android:id/list" in your xml ?
when im going to insert the the data in database i found the following errors
please give me solution
07-26 12:24:38.275: ERROR/Zygote(32): setreuid() failed. errno: 2
07-26 12:24:45.445: ERROR/Zygote(32): setreuid() failed. errno: 17
07-26 12:24:46.705: ERROR/BatteryService(58): usbOnlinePath not found
07-26 12:24:46.705: ERROR/BatteryService(58): batteryVoltagePath not found
07-26 12:24:46.705: ERROR/BatteryService(58): batteryTemperaturePath not found
07-26 12:24:46.757: ERROR/SurfaceFlinger(58): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
07-26 12:24:52.576: ERROR/EventHub(58): could not get driver version for /dev/input/mouse0, Not a typewriter
07-26 12:24:52.576: ERROR/EventHub(58): could not get driver version for /dev/input/mice, Not a typewriter
07-26 12:24:52.727: ERROR/System(58): Failure starting core service
07-26 12:24:52.727: ERROR/System(58): java.lang.SecurityException
07-26 12:24:52.727: ERROR/System(58): at android.os.BinderProxy.transact(Native Method)
07-26 12:24:52.727: ERROR/System(58): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
07-26 12:24:52.727: ERROR/System(58): at android.os.ServiceManager.addService(ServiceManager.java:72)
07-26 12:24:52.727: ERROR/System(58): at com.android.server.ServerThread.run(SystemServer.java:184)
07-26 12:24:53.727: ERROR/SoundPool(58): error loading /system/media/audio/ui/Effect_Tick.ogg
07-26 12:24:53.737: ERROR/SoundPool(58): error loading /system/media/audio/ui/KeypressStandard.ogg
07-26 12:24:53.737: ERROR/SoundPool(58): error loading /system/media/audio/ui/KeypressSpacebar.ogg
07-26 12:24:53.737: ERROR/SoundPool(58): error loading /system/media/audio/ui/KeypressDelete.ogg
07-26 12:24:53.746: ERROR/SoundPool(58): error loading /system/media/audio/ui/KeypressReturn.ogg
07-26 12:24:56.527: ERROR/ThrottleService(58): Could not open GPS configuration file /etc/gps.conf
07-26 12:24:57.955: ERROR/logwrapper(142): executing /system/bin/tc failed: No such file or directory
07-26 12:24:58.026: ERROR/logwrapper(144): executing /system/bin/tc failed: No such file or directory
07-26 12:24:58.096: ERROR/logwrapper(146): executing /system/bin/tc failed: No such file or directory
07-26 12:25:10.246: ERROR/HierarchicalStateMachine(58): TetherMaster - unhandledMessage: msg.what=3
07-26 12:25:41.245: ERROR/AndroidRuntime(274): FATAL EXCEPTION: main
07-26 12:25:41.245: ERROR/AndroidRuntime(274): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dataApplication/com.dataApplication.Edit}: java.lang.NullPointerException
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at android.os.Handler.dispatchMessage(Handler.java:99)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at android.os.Looper.loop(Looper.java:123)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at android.app.ActivityThread.main(ActivityThread.java:4627)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at java.lang.reflect.Method.invokeNative(Native Method)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at java.lang.reflect.Method.invoke(Method.java:521)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at dalvik.system.NativeStart.main(Native Method)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): Caused by: java.lang.NullPointerException
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at com.dataApplication.Edit.onCreate(Edit.java:87)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
07-26 12:25:41.245: ERROR/AndroidRuntime(274): ... 11 more
07-26 12:26:54.735: ERROR/AndroidRuntime(285): FATAL EXCEPTION: main
07-26 12:26:54.735: ERROR/AndroidRuntime(285): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dataApplication/com.dataApplication.Edit}: java.lang.NullPointerException
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at android.os.Handler.dispatchMessage(Handler.java:99)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at android.os.Looper.loop(Looper.java:123)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at android.app.ActivityThread.main(ActivityThread.java:4627)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at java.lang.reflect.Method.invokeNative(Native Method)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at java.lang.reflect.Method.invoke(Method.java:521)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at dalvik.system.NativeStart.main(Native Method)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): Caused by: java.lang.NullPointerException
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at com.dataApplication.Edit.onCreate(Edit.java:87)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
07-26 12:26:54.735: ERROR/AndroidRuntime(285): ... 11 more
I think the error you got is:
07-26 12:25:41.245: ERROR/AndroidRuntime(274): Caused by: java.lang.NullPointerException
07-26 12:25:41.245: ERROR/AndroidRuntime(274): at com.dataApplication.Edit.onCreate(Edit.java:87)
You are accessing a object that is not existing on line 87 in your Edit class.