Android app is unable to launch on device

Jalal Zia

i am developing an app in android and there is no syntax error but when i deploy my app on my device it gives following logcat errors please help me if any one can i am doing my colg project

These are the following logcat errors

            12-01 01:52:10.310: E/Trace(7853): error opening trace file: No such file or directory (2)
            12-01 01:52:10.310: D/ActivityThread(7853): setTargetHeapUtilization:0.75
            12-01 01:52:10.310: D/ActivityThread(7853): setTargetHeapIdealFree:8388608
            12-01 01:52:10.310: D/ActivityThread(7853): setTargetHeapConcurrentStart:2097152
            12-01 01:52:10.380: W/dalvikvm(7853): Refusing to reopen boot DEX '/system/framework/hwframework.jar'
            12-01 01:52:10.660: I/ActivityThread(7853): Pub com.aiou.fyp.provider: com.aiou.fyp.DataProvider
            12-01 01:52:11.070: W/dalvikvm(7853): threadid=1: thread exiting with uncaught exception (group=0x42022438)
            12-01 01:52:11.090: E/AndroidRuntime(7853): FATAL EXCEPTION: main
            12-01 01:52:11.090: E/AndroidRuntime(7853): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.aiou.fyp/com.aiou.fyp.MainActivity}: java.lang.NullPointerException
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2077)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2102)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at android.app.ActivityThread.access$600(ActivityThread.java:137)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at android.os.Handler.dispatchMessage(Handler.java:99)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at android.os.Looper.loop(Looper.java:137)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at android.app.ActivityThread.main(ActivityThread.java:4838)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at java.lang.reflect.Method.invokeNative(Native Method)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at java.lang.reflect.Method.invoke(Method.java:511)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:874)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at dalvik.system.NativeStart.main(Native Method)
            12-01 01:52:11.090: E/AndroidRuntime(7853): Caused by: java.lang.NullPointerException
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at com.aiou.fyp.MainActivity.onCreate(MainActivity.java:53)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at android.app.Activity.performCreate(Activity.java:5010)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2041)
            12-01 01:52:11.090: E/AndroidRuntime(7853):     ... 11 more
Gregorio Meraz Jr.

this usually happens when you forgot to inflate one of your layout components but you are trying to use it in your class.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Multi Device Hybrid Apps - Unable to launch Ripple - Chrome not found

分類Dev

Appium is unable to find button on android device

分類Dev

Unable to inspect Android device via Chrome://inspect

分類Dev

Disable a device owner app from android terminal

分類Dev

Error installing app on Android 2.3 device

分類Dev

Can't run app on Android device

分類Dev

Android app dosen't run on device

分類Dev

Android app runs only on emulator but not on device

分類Dev

Can no longer launch app from FirebaseMessagingService after Android OS update

分類Dev

NoSuchMethodException when trying to launch my app from Android Studio

分類Dev

Kotlin how to launch an async processing from android.app.Application

分類Dev

Unable to launch SparkR in RStudio

分類Dev

Android Unable to identify the apk for variant arm-debug and device

分類Dev

Unable to send HttpPost request using Android app

分類Dev

How to install two different app on android device using Ionic

分類Dev

Android Studio app runs on real device but won't run on an emulator

分類Dev

Will my app be slow on a device if it's slow on my Android Studio emulator?

分類Dev

Android App is not connecting to firebase realtime database in a real device

分類Dev

Get connected HDMI device's HDMI version in android app

分類Dev

Release app crashes, debugging on device works fine - android

分類Dev

Unable to launch Read The Docs in docker

分類Dev

Unable to launch Read The Docs in docker

分類Dev

Unable to find root device ''

分類Dev

Launch an App by key press or a combination of key press - Window phone 8.1, iphone, Android

分類Dev

Launch app if installed or redirect to download

分類Dev

iOS 9.2.1 app crash on launch

分類Dev

Launch App before sending SMS

分類Dev

Windows Store App : How to launch an other app?

分類Dev

Unable to load font for use with ImageSharp in Xamarin Android app

Related 関連記事

  1. 1

    Multi Device Hybrid Apps - Unable to launch Ripple - Chrome not found

  2. 2

    Appium is unable to find button on android device

  3. 3

    Unable to inspect Android device via Chrome://inspect

  4. 4

    Disable a device owner app from android terminal

  5. 5

    Error installing app on Android 2.3 device

  6. 6

    Can't run app on Android device

  7. 7

    Android app dosen't run on device

  8. 8

    Android app runs only on emulator but not on device

  9. 9

    Can no longer launch app from FirebaseMessagingService after Android OS update

  10. 10

    NoSuchMethodException when trying to launch my app from Android Studio

  11. 11

    Kotlin how to launch an async processing from android.app.Application

  12. 12

    Unable to launch SparkR in RStudio

  13. 13

    Android Unable to identify the apk for variant arm-debug and device

  14. 14

    Unable to send HttpPost request using Android app

  15. 15

    How to install two different app on android device using Ionic

  16. 16

    Android Studio app runs on real device but won't run on an emulator

  17. 17

    Will my app be slow on a device if it's slow on my Android Studio emulator?

  18. 18

    Android App is not connecting to firebase realtime database in a real device

  19. 19

    Get connected HDMI device's HDMI version in android app

  20. 20

    Release app crashes, debugging on device works fine - android

  21. 21

    Unable to launch Read The Docs in docker

  22. 22

    Unable to launch Read The Docs in docker

  23. 23

    Unable to find root device ''

  24. 24

    Launch an App by key press or a combination of key press - Window phone 8.1, iphone, Android

  25. 25

    Launch app if installed or redirect to download

  26. 26

    iOS 9.2.1 app crash on launch

  27. 27

    Launch App before sending SMS

  28. 28

    Windows Store App : How to launch an other app?

  29. 29

    Unable to load font for use with ImageSharp in Xamarin Android app

ホットタグ

アーカイブ