[Q] [q] App force closes after adding admod SDK - Other Tools & General Discussion

Guys,I am trying to integrate admob SDK in my app from the past 3 hours and have no luck.
I have added the jar libraries ( build path), included in build paths, everything is good there.
main activity :
Code:
// Create the adView
adView = new AdView(this, AdSize.BANNER, MY_AD_UNIT_ID);
// Lookup your LinearLayout assuming it's been given
// the attribute android:id="@+id/mainLayout"
RelativeLayout layout = (RelativeLayout)findViewById(R.id.ad);
// Add the adView to it
layout.addView(adView);
// Initiate a generic request to load it with an ad
adView.loadAd(new AdRequest());
layout
Code:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
android:id="@+id/mainLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
<com.google.ads.AdView
android:id="@+id/ad"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
ads:adSize="BANNER"
ads:adUnitId="a15XZXXXXX3"
ads:loadAdOnCreate="true" />
everything loaded on the manifest file as well!
LOGCAT :
Code:
07-09 15:33:20.362: D/dalvikvm(12621): GC_CONCURRENT freed 188K, 3% free 8916K/9132K, paused 5ms+8ms, total 46ms
07-09 15:33:20.362: E/AndroidRuntime(12621): FATAL EXCEPTION: main
07-09 15:33:20.362: E/AndroidRuntime(12621): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.PACKAGE/com.PACKAGE.MainActivity}: java.lang.NullPointerException
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.access$600(ActivityThread.java:141)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.os.Handler.dispatchMessage(Handler.java:99)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.os.Looper.loop(Looper.java:137)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.main(ActivityThread.java:5041)
07-09 15:33:20.362: E/AndroidRuntime(12621): at java.lang.reflect.Method.invokeNative(Native Method)
07-09 15:33:20.362: E/AndroidRuntime(12621): at java.lang.reflect.Method.invoke(Method.java:511)
07-09 15:33:20.362: E/AndroidRuntime(12621): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
07-09 15:33:20.362: E/AndroidRuntime(12621): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
07-09 15:33:20.362: E/AndroidRuntime(12621): at dalvik.system.NativeStart.main(Native Method)
07-09 15:33:20.362: E/AndroidRuntime(12621): Caused by: java.lang.NullPointerException
07-09 15:33:20.362: E/AndroidRuntime(12621): at com.PACKAGE.MainActivity.onCreate(MainActivity.java:42)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.Activity.performCreate(Activity.java:5104)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
07-09 15:33:20.362: E/AndroidRuntime(12621): ... 11 more
07-09 15:33:22.877: I/Process(12621): Sending signal. PID: 12621 SIG: 9

chintz24 said:
Guys,I am trying to integrate admob SDK in my app from the past 3 hours and have no luck.
I have added the jar libraries ( build path), included in build paths, everything is good there.
main activity :
Code:
// Create the adView
adView = new AdView(this, AdSize.BANNER, MY_AD_UNIT_ID);
// Lookup your LinearLayout assuming it's been given
// the attribute android:id="@+id/mainLayout"
RelativeLayout layout = (RelativeLayout)findViewById(R.id.ad);
// Add the adView to it
layout.addView(adView);
// Initiate a generic request to load it with an ad
adView.loadAd(new AdRequest());
layout
Code:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
android:id="@+id/mainLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
<com.google.ads.AdView
android:id="@+id/ad"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
ads:adSize="BANNER"
ads:adUnitId="a15XZXXXXX3"
ads:loadAdOnCreate="true" />
everything loaded on the manifest file as well!
LOGCAT :
Code:
07-09 15:33:20.362: D/dalvikvm(12621): GC_CONCURRENT freed 188K, 3% free 8916K/9132K, paused 5ms+8ms, total 46ms
07-09 15:33:20.362: E/AndroidRuntime(12621): FATAL EXCEPTION: main
07-09 15:33:20.362: E/AndroidRuntime(12621): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.PACKAGE/com.PACKAGE.MainActivity}: java.lang.NullPointerException
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.access$600(ActivityThread.java:141)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.os.Handler.dispatchMessage(Handler.java:99)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.os.Looper.loop(Looper.java:137)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.main(ActivityThread.java:5041)
07-09 15:33:20.362: E/AndroidRuntime(12621): at java.lang.reflect.Method.invokeNative(Native Method)
07-09 15:33:20.362: E/AndroidRuntime(12621): at java.lang.reflect.Method.invoke(Method.java:511)
07-09 15:33:20.362: E/AndroidRuntime(12621): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
07-09 15:33:20.362: E/AndroidRuntime(12621): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
07-09 15:33:20.362: E/AndroidRuntime(12621): at dalvik.system.NativeStart.main(Native Method)
07-09 15:33:20.362: E/AndroidRuntime(12621): Caused by: java.lang.NullPointerException
07-09 15:33:20.362: E/AndroidRuntime(12621): at com.PACKAGE.MainActivity.onCreate(MainActivity.java:42)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.Activity.performCreate(Activity.java:5104)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
07-09 15:33:20.362: E/AndroidRuntime(12621): ... 11 more
07-09 15:33:22.877: I/Process(12621): Sending signal. PID: 12621 SIG: 9
Click to expand...
Click to collapse
I believe The Error here is a NullPointerException in This line :
Code:
RelativeLayout layout = (RelativeLayout)findViewById(R.id.ad);
The id of the Relative Layout is NOT R.id.ad. It is R.id.mainLayout ... But, Why are you Trying to add the Ad Programmatically (in the Java file) when you have already added it via the XML Layout File ?? ... Any one method is enough ... You MUST not use both !

Related

[App] AntTek File Explorer

File Explorer is an ultimate utility for any Android devices. It supports both ROOT users and NON-ROOT users. It’s a first two-panels explorer for Android so that it is optimal UI for large screen smartphone and tablet, even TV.
Features
Basic file explorer utility: browse, copy, cut, paste, delete, rename, send, zip, unzip over Linux-file entry,
Build-in viewer for text, image, video files and text editor, zip viewer, apk viewer
Quick browsing with bookmarks and shortcuts,
Look and feel with different view modes, sort modes, beautiful icon set, multiple selection operation,
Smart toolbar that commits the best user experiences,
Configurable dual panels view for large screen
Integrate with AntTek Group Organizer app to manage shortcut
For ROOT users, this tool is more powerful:
Browse private partitions (i.e. /data, /system) as regular files on SDCard
Download & Install
https://market.android.com/details?id=com.anttek.explorer
Guide
http://anttek.com/apps/file-explorer/
Your download link has an issue
Sent from my LT15i using XDA App
Thanks for your notice. It should open your browser. I add a barcode image so that people can get it directly on their phone
This looks surprisingly decent! Thank you in advance before I get straight to testing
Doesn't even start on Htc Tattoo, rooted with custom rom(Cyanogenmod7 whith android 2.3.4)
Crashes every time I try to run it. This is the logcat code when run the app:
Code:
I/ActivityManager( 148): Starting: Intent { act=android.intent.action.MAIN cat=
[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.anttek.explorer/.FileE
xplorer } from pid 16588
D/PhoneWindow(16588): couldn't save which view has focus because the focused vie
w [email protected] has no id.
I/ActivityManager( 148): Start proc com.anttek.explorer for activity com.anttek
.explorer/.FileExplorer: pid=18997 uid=10104 gids={1015}
D/dalvikvm(18997): GC_EXTERNAL_ALLOC freed 116K, 49% free 2807K/5447K, external
0K/0K, paused 89ms
I/ggheart (16588): onStop
D/AndroidRuntime(18997): Shutting down VM
W/dalvikvm(18997): threadid=1: thread exiting with uncaught exception (group=0x4
0018560)
E/AndroidRuntime(18997): FATAL EXCEPTION: main
E/AndroidRuntime(18997): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.anttek.explorer/com.anttek.explorer.FileExplorer}: java.lang.Num
berFormatException: sdcard_r
E/AndroidRuntime(18997): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:1768)
E/AndroidRuntime(18997): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:1784)
E/AndroidRuntime(18997): at android.app.ActivityThread.access$1500(Activi
tyThread.java:123)
E/AndroidRuntime(18997): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:939)
E/AndroidRuntime(18997): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime(18997): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime(18997): at android.app.ActivityThread.main(ActivityThrea
d.java:3835)
E/AndroidRuntime(18997): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime(18997): at java.lang.reflect.Method.invoke(Method.java:5
07)
E/AndroidRuntime(18997): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime(18997): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:599)
E/AndroidRuntime(18997): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(18997): Caused by: java.lang.NumberFormatException: sdcard_r
E/AndroidRuntime(18997): at java.lang.Long.parse(Long.java:353)
E/AndroidRuntime(18997): at java.lang.Long.parseLong(Long.java:344)
E/AndroidRuntime(18997): at java.lang.Long.parseLong(Long.java:311)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.engine.filesys
tem.LinuxFileEntry.parse(LinuxFileEntry.java:70)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.engine.filesys
tem.LinuxFileEntry.<init>(LinuxFileEntry.java:21)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.engine.filesys
tem.ExplorerEntry.getFileChilds(ExplorerEntry.java:462)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.engine.filesys
tem.ExplorerEntry.getChilds(ExplorerEntry.java:166)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.ui.adapter.Exp
lorerAdapter.refresh(ExplorerAdapter.java:42)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.ui.adapter.Exp
lorerAdapter.SetCurrentDirectory(ExplorerAdapter.java:35)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.ui.view.Explor
erView.open(ExplorerView.java:61)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.ui.fragment.Ex
plorerFragment.browse(ExplorerFragment.java:147)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.ui.fragment.Ex
plorerFragment.onActivityCreated(ExplorerFragment.java:86)
E/AndroidRuntime(18997): at android.support.v4.app.FragmentManagerImpl.mo
veToState(FragmentManager.java:760)
E/AndroidRuntime(18997): at android.support.v4.app.FragmentManagerImpl.mo
veToState(FragmentManager.java:933)
E/AndroidRuntime(18997): at android.support.v4.app.FragmentManagerImpl.mo
veToState(FragmentManager.java:916)
E/AndroidRuntime(18997): at android.support.v4.app.FragmentManagerImpl.di
spatchStart(FragmentManager.java:1587)
E/AndroidRuntime(18997): at android.support.v4.app.FragmentActivity.onSta
rt(FragmentActivity.java:500)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.ui.activity.Ex
plorerFragmentActivity.onStart(ExplorerFragmentActivity.java:229)
E/AndroidRuntime(18997): at android.app.Instrumentation.callActivityOnSta
rt(Instrumentation.java:1129)
E/AndroidRuntime(18997): at android.app.Activity.performStart(Activity.ja
va:3791)
E/AndroidRuntime(18997): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:1731)
E/AndroidRuntime(18997): ... 11 more
W/ActivityManager( 148): Force finishing activity com.anttek.explorer/.FileEx
plorer
D/dalvikvm(18997): GC_CONCURRENT freed 227K, 49% free 2918K/5639K, external 11K/
514K, paused 9ms+32ms
W/ActivityManager( 148): Activity pause timeout for HistoryRecord{4053dfc0 com.
anttek.explorer/.FileExplorer}
I/ggheart (16588): onStart
D/WifiService( 148): ACTION_BATTERY_CHANGED pluggedType: 2
D/SiMiClock( 729): onUpdate
D/SiMiClock( 729): onUpdate - 194
W/ActivityManager( 148): Activity destroy timeout for HistoryRecord{4053dfc0 co
m.anttek.explorer/.FileExplorer}
D/dalvikvm( 729): GC_EXPLICIT freed 117K, 56% free 2812K/6279K, external 29K/51
2K, paused 82ms
D/dalvikvm(18666): GC_CONCURRENT freed 437K, 53% free 2724K/5703K, external 0K/0
K, paused 13ms+5ms
dancer_69 said:
Doesn't even start on Htc Tattoo, rooted with custom rom(Cyanogenmod7 whith android 2.3.4)
Crashes every time I try to run it. This is the logcat code when run the app:
Code:
I/ActivityManager( 148): Starting: Intent { act=android.intent.action.MAIN cat=
[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.anttek.explorer/.FileE
xplorer } from pid 16588
D/PhoneWindow(16588): couldn't save which view has focus because the focused vie
w [email protected] has no id.
I/ActivityManager( 148): Start proc com.anttek.explorer for activity com.anttek
.explorer/.FileExplorer: pid=18997 uid=10104 gids={1015}
D/dalvikvm(18997): GC_EXTERNAL_ALLOC freed 116K, 49% free 2807K/5447K, external
0K/0K, paused 89ms
I/ggheart (16588): onStop
D/AndroidRuntime(18997): Shutting down VM
W/dalvikvm(18997): threadid=1: thread exiting with uncaught exception (group=0x4
0018560)
E/AndroidRuntime(18997): FATAL EXCEPTION: main
E/AndroidRuntime(18997): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.anttek.explorer/com.anttek.explorer.FileExplorer}: java.lang.Num
berFormatException: sdcard_r
E/AndroidRuntime(18997): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:1768)
E/AndroidRuntime(18997): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:1784)
E/AndroidRuntime(18997): at android.app.ActivityThread.access$1500(Activi
tyThread.java:123)
E/AndroidRuntime(18997): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:939)
E/AndroidRuntime(18997): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime(18997): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime(18997): at android.app.ActivityThread.main(ActivityThrea
d.java:3835)
E/AndroidRuntime(18997): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime(18997): at java.lang.reflect.Method.invoke(Method.java:5
07)
E/AndroidRuntime(18997): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime(18997): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:599)
E/AndroidRuntime(18997): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(18997): Caused by: java.lang.NumberFormatException: sdcard_r
E/AndroidRuntime(18997): at java.lang.Long.parse(Long.java:353)
E/AndroidRuntime(18997): at java.lang.Long.parseLong(Long.java:344)
E/AndroidRuntime(18997): at java.lang.Long.parseLong(Long.java:311)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.engine.filesys
tem.LinuxFileEntry.parse(LinuxFileEntry.java:70)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.engine.filesys
tem.LinuxFileEntry.<init>(LinuxFileEntry.java:21)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.engine.filesys
tem.ExplorerEntry.getFileChilds(ExplorerEntry.java:462)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.engine.filesys
tem.ExplorerEntry.getChilds(ExplorerEntry.java:166)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.ui.adapter.Exp
lorerAdapter.refresh(ExplorerAdapter.java:42)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.ui.adapter.Exp
lorerAdapter.SetCurrentDirectory(ExplorerAdapter.java:35)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.ui.view.Explor
erView.open(ExplorerView.java:61)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.ui.fragment.Ex
plorerFragment.browse(ExplorerFragment.java:147)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.ui.fragment.Ex
plorerFragment.onActivityCreated(ExplorerFragment.java:86)
E/AndroidRuntime(18997): at android.support.v4.app.FragmentManagerImpl.mo
veToState(FragmentManager.java:760)
E/AndroidRuntime(18997): at android.support.v4.app.FragmentManagerImpl.mo
veToState(FragmentManager.java:933)
E/AndroidRuntime(18997): at android.support.v4.app.FragmentManagerImpl.mo
veToState(FragmentManager.java:916)
E/AndroidRuntime(18997): at android.support.v4.app.FragmentManagerImpl.di
spatchStart(FragmentManager.java:1587)
E/AndroidRuntime(18997): at android.support.v4.app.FragmentActivity.onSta
rt(FragmentActivity.java:500)
E/AndroidRuntime(18997): at com.anttek.filemanager.android.ui.activity.Ex
plorerFragmentActivity.onStart(ExplorerFragmentActivity.java:229)
E/AndroidRuntime(18997): at android.app.Instrumentation.callActivityOnSta
rt(Instrumentation.java:1129)
E/AndroidRuntime(18997): at android.app.Activity.performStart(Activity.ja
va:3791)
E/AndroidRuntime(18997): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:1731)
E/AndroidRuntime(18997): ... 11 more
W/ActivityManager( 148): Force finishing activity com.anttek.explorer/.FileEx
plorer
D/dalvikvm(18997): GC_CONCURRENT freed 227K, 49% free 2918K/5639K, external 11K/
514K, paused 9ms+32ms
W/ActivityManager( 148): Activity pause timeout for HistoryRecord{4053dfc0 com.
anttek.explorer/.FileExplorer}
I/ggheart (16588): onStart
D/WifiService( 148): ACTION_BATTERY_CHANGED pluggedType: 2
D/SiMiClock( 729): onUpdate
D/SiMiClock( 729): onUpdate - 194
W/ActivityManager( 148): Activity destroy timeout for HistoryRecord{4053dfc0 co
m.anttek.explorer/.FileExplorer}
D/dalvikvm( 729): GC_EXPLICIT freed 117K, 56% free 2812K/6279K, external 29K/51
2K, paused 82ms
D/dalvikvm(18666): GC_CONCURRENT freed 437K, 53% free 2724K/5703K, external 0K/0
K, paused 13ms+5ms
Click to expand...
Click to collapse
Same issue here - SGS Captivate w/CM7. I don't have the time right now to produce a lolcat, but I can imagine it being the same error.
Lollipop_Lawlipop said:
Same issue here - SGS Captivate w/CM7. I don't have the time right now to produce a lolcat, but I can imagine it being the same error.
Click to expand...
Click to collapse
Thanks for your feedback. It hasn't test on any CM6,7 yet. I will try to fix this bug soon.
leducbao said:
Thanks for your feedback. It hasn't test on any CM6,7 yet. I will try to fix this bug soon.
Click to expand...
Click to collapse
The problem is fixed. It's now compatible with CM6/CM7

Is someone able to run Öffi, Glympse or OSMonitor in Froyomod2.9 ?

Hi
Setup: Milestone, Froyomod 2.9, ORA 3.3, App2ext used
I installed Froyomod 2.9 and can't start Öffi, Glympse and OSMonitor.
Is anyone of you able to start them ? If yes, could you please post the catlog (via droidexplorer.. clear the window, start the app, copy the log) of a successful start of these apps ?
Here are mine, if somebody wants to go bughunting..
Öffi:
Code:
ActivityManager( 2048): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=de.schildbach.oeffi/.stations.StationsActivity bnds=[632,369][761,480] }
ActivityManager( 2048): Start proc de.schildbach.oeffi for activity de.schildbach.oeffi/.stations.StationsActivity: pid=2926 uid=10065 gids={3003}
dalvikvm( 2926): could not disable core file generation for pid 2926, errno=1
ggheart ( 2373): onStop
ActivityThread( 2926): Publishing provider de.schildbach.oeffi.plans: de.schildbach.oeffi.plans.PlanContentProvider
global ( 2926): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
ActivityThread( 2926): Publishing provider de.schildbach.oeffi.stations.favorites: de.schildbach.oeffi.stations.FavoriteStationsProvider
ActivityThread( 2926): Publishing provider de.schildbach.oeffi.networks: de.schildbach.oeffi.stations.NetworkContentProvider
ActivityThread( 2926): Publishing provider de.schildbach.oeffi.directions.query_history: de.schildbach.oeffi.directions.QueryHistoryProvider
dalvikvm( 2926): Unable to resolve superclass of Lde/schildbach/oeffi/OeffiActivity; (199)
dalvikvm( 2926): Link of class 'Lde/schildbach/oeffi/OeffiActivity;' failed
dalvikvm( 2926): Unable to resolve superclass of Lde/schildbach/oeffi/OeffiMainActivity; (228)
dalvikvm( 2926): Link of class 'Lde/schildbach/oeffi/OeffiMainActivity;' failed
dalvikvm( 2926): Unable to resolve superclass of Lde/schildbach/oeffi/stations/StationsActivity; (231)
dalvikvm( 2926): Link of class 'Lde/schildbach/oeffi/stations/StationsActivity;' failed
dalvikvm( 2926): GC_FOR_MALLOC freed 5585 objects / 302712 bytes in 60ms
AndroidRuntime( 2926): Shutting down VM
dalvikvm( 2926): threadid=1: thread exiting with uncaught exception (group=0x400207e0)
AndroidRuntime( 2926): FATAL EXCEPTION: main
AndroidRuntime( 2926): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{de.schildbach.oeffi/de.schildbach.oeffi.stations.StationsActivity}: java.lang.ClassNotFoundException: de.schildbach.oeffi.stations.StationsActivity in loader dalvik.system.PathClassLoader[/system/framework/com.google.android.maps.jar:/data/app/de.schildbach.oeffi-1.apk]
AndroidRuntime( 2926): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585)
AndroidRuntime( 2926): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
AndroidRuntime( 2926): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
AndroidRuntime( 2926): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
AndroidRuntime( 2926): at android.os.Handler.dispatchMessage(Handler.java:99)
AndroidRuntime( 2926): at android.os.Looper.loop(Looper.java:123)
AndroidRuntime( 2926): at android.app.ActivityThread.main(ActivityThread.java:4627)
AndroidRuntime( 2926): at java.lang.reflect.Method.invokeNative(Native Method)
AndroidRuntime( 2926): at java.lang.reflect.Method.invoke(Method.java:521)
AndroidRuntime( 2926): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
AndroidRuntime( 2926): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
AndroidRuntime( 2926): at dalvik.system.NativeStart.main(Native Method)
AndroidRuntime( 2926): Caused by: java.lang.ClassNotFoundException: de.schildbach.oeffi.stations.StationsActivity in loader dalvik.system.PathClassLoader[/system/framework/com.google.android.maps.jar:/data/app/de.schildbach.oeffi-1.apk]
AndroidRuntime( 2926): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
AndroidRuntime( 2926): at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
AndroidRuntime( 2926): at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
AndroidRuntime( 2926): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
AndroidRuntime( 2926): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577)
AndroidRuntime( 2926): ... 11 more
ActivityManager( 2048): Force finishing activity de.schildbach.oeffi/.stations.StationsActivity
ActivityManager( 2048): Activity pause timeout for HistoryRecord{46421688 de.schildbach.oeffi/.stations.StationsActivity}
DemoService( 2373): DiyScheduer.onStart
ggheart ( 2373): onStart
ActivityManager( 2048): Activity destroy timeout for HistoryRecord{46421688 de.schildbach.oeffi/.stations.StationsActivity}
Glympse:
Code:
ActivityManager( 2048): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.glympse.android.glympse/.Glympse bnds=[426,262][555,373] }
ResourceType( 2048): Style contains key with bad entry: 0x01010361
ActivityManager( 2048): Start proc com.glympse.android.glympse for activity com.glympse.android.glympse/.Glympse: pid=2933 uid=10061 gids={3003, 1006}
dalvikvm( 2933): could not disable core file generation for pid 2933, errno=1
ggheart ( 2373): onStop
dalvikvm( 2933): Unable to resolve superclass of Lcom/glympse/android/glympse/Glympse; (530)
dalvikvm( 2933): Link of class 'Lcom/glympse/android/glympse/Glympse;' failed
AndroidRuntime( 2933): Shutting down VM
dalvikvm( 2933): threadid=1: thread exiting with uncaught exception (group=0x400207e0)
AndroidRuntime( 2933): FATAL EXCEPTION: main
AndroidRuntime( 2933): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.glympse.android.glympse/com.glympse.android.glympse.Glympse}: java.lang.ClassNotFoundException: com.glympse.android.glympse.Glympse in loader dalvik.system.PathClassLoader[/system/framework/com.google.android.maps.jar:/data/app/com.glympse.android.glympse-1.apk]
AndroidRuntime( 2933): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585)
AndroidRuntime( 2933): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
AndroidRuntime( 2933): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
AndroidRuntime( 2933): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
AndroidRuntime( 2933): at android.os.Handler.dispatchMessage(Handler.java:99)
AndroidRuntime( 2933): at android.os.Looper.loop(Looper.java:123)
AndroidRuntime( 2933): at android.app.ActivityThread.main(ActivityThread.java:4627)
AndroidRuntime( 2933): at java.lang.reflect.Method.invokeNative(Native Method)
AndroidRuntime( 2933): at java.lang.reflect.Method.invoke(Method.java:521)
AndroidRuntime( 2933): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
AndroidRuntime( 2933): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
AndroidRuntime( 2933): at dalvik.system.NativeStart.main(Native Method)
AndroidRuntime( 2933): Caused by: java.lang.ClassNotFoundException: com.glympse.android.glympse.Glympse in loader dalvik.system.PathClassLoader[/system/framework/com.google.android.maps.jar:/data/app/com.glympse.android.glympse-1.apk]
AndroidRuntime( 2933): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
AndroidRuntime( 2933): at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
AndroidRuntime( 2933): at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
AndroidRuntime( 2933): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
AndroidRuntime( 2933): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577)
AndroidRuntime( 2933): ... 11 more
ActivityManager( 2048): Force finishing activity com.glympse.android.glympse/.Glympse
ActivityManager( 2048): Activity pause timeout for HistoryRecord{46470bf8 com.glympse.android.glympse/.Glympse}
DemoService( 2373): DiyScheduer.onStart
ggheart ( 2373): onStart
OS Monitor:
Code:
ActivityManager( 2048): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.eolwral.osmonitor/.OSMonitor bnds=[220,262][349,373] }
ActivityManager( 2048): Start proc com.eolwral.osmonitor for activity com.eolwral.osmonitor/.OSMonitor: pid=2946 uid=10070 gids={3003, 1007, 1015}
dalvikvm( 2946): could not disable core file generation for pid 2946, errno=1
dalvikvm( 2946): Unable to resolve superclass of Lcom/eolwral/osmonitor/networks/NetworkList; (198)
dalvikvm( 2946): Link of class 'Lcom/eolwral/osmonitor/networks/NetworkList;' failed
dalvikvm( 2946): Could not find class 'com.eolwral.osmonitor.networks.NetworkList', referenced from method com.eolwral.osmonitor.OSMonitor.onCreate
dalvikvm( 2946): VFY: unable to resolve const-class 178 (Lcom/eolwral/osmonitor/networks/NetworkList;) in Lcom/eolwral/osmonitor/OSMonitor;
dalvikvm( 2946): VFY: replacing opcode 0x1c at 0x00bd
dalvikvm( 2946): VFY: dead code 0x00bf-0125 in Lcom/eolwral/osmonitor/OSMonitor;.onCreate (Landroid/os/Bundle;)V
ggheart ( 2373): onStop
dalvikvm( 2946): GC_EXTERNAL_ALLOC freed 991 objects / 71992 bytes in 79ms
dalvikvm( 2946): Trying to load lib /data/data/com.eolwral.osmonitor/lib/libosmonitor.so 0x461819f0
dalvikvm( 2946): Added shared lib /data/data/com.eolwral.osmonitor/lib/libosmonitor.so 0x461819f0
AndroidRuntime( 2946): Shutting down VM
dalvikvm( 2946): threadid=1: thread exiting with uncaught exception (group=0x400207e0)
AndroidRuntime( 2946): FATAL EXCEPTION: main
AndroidRuntime( 2946): java.lang.NoClassDefFoundError: com.eolwral.osmonitor.networks.NetworkList
AndroidRuntime( 2946): at com.eolwral.osmonitor.OSMonitor.onCreate(OSMonitor.java:73)
AndroidRuntime( 2946): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
AndroidRuntime( 2946): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
AndroidRuntime( 2946): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
AndroidRuntime( 2946): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
AndroidRuntime( 2946): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
AndroidRuntime( 2946): at android.os.Handler.dispatchMessage(Handler.java:99)
AndroidRuntime( 2946): at android.os.Looper.loop(Looper.java:123)
AndroidRuntime( 2946): at android.app.ActivityThread.main(ActivityThread.java:4627)
AndroidRuntime( 2946): at java.lang.reflect.Method.invokeNative(Native Method)
AndroidRuntime( 2946): at java.lang.reflect.Method.invoke(Method.java:521)
AndroidRuntime( 2946): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
AndroidRuntime( 2946): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
AndroidRuntime( 2946): at dalvik.system.NativeStart.main(Native Method)
ActivityManager( 2048): Force finishing activity com.eolwral.osmonitor/.OSMonitor
ActivityManager( 2048): Activity pause timeout for HistoryRecord{46387588 com.eolwral.osmonitor/.OSMonitor}
DemoService( 2373): DiyScheduer.onStart
ggheart ( 2373): onStart

[Q] what is missing ?? logcat idea :D

hi,buddies
i have an question here is activity logcat
Code:
I/ActivityManager( 1752): Start proc com.htc.launcher for activity com.htc.launc
her/.Launcher: pid=3661 uid=10024 gids={3003, 1015, 1028}
D/dalvikvm( 1490): GC_EXPLICIT freed 38K, 74% free 2172K/8259K, paused 2ms+2ms,
total 37ms
D/dalvikvm( 1490): GC_EXPLICIT freed <1K, 74% free 2172K/8259K, paused 4ms+2ms,
total 40ms
E/Trace ( 3661): error opening trace file: No such file or directory (2)
D/dalvikvm( 1490): WAIT_FOR_CONCURRENT_GC blocked 1ms
D/dalvikvm( 1490): GC_EXPLICIT freed <1K, 74% free 2172K/8259K, paused 3ms+2ms,
total 41ms
I/ActivityThread( 3661): Pub com.htc.launcher.settings.facade: com.htc.launcher.
facade.LauncherProviderFacade
W/dalvikvm( 3661): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initi
alizing Lcom/htc/htcjavaflag/Native;
W/dalvikvm( 3661): Exception Ljava/lang/ExceptionInInitializerError; thrown whil
e initializing Lcom/htc/htcjavaflag/HtcBuildFlag;
W/dalvikvm( 3661): Exception Ljava/lang/ExceptionInInitializerError; thrown whil
e initializing Lcom/htc/launcher/util/SettingUtil;
W/dalvikvm( 3661): Exception Ljava/lang/ExceptionInInitializerError; thrown whil
e initializing Lcom/htc/launcher/util/Logger;
W/dalvikvm( 3661): Exception Ljava/lang/ExceptionInInitializerError; thrown whil
e initializing Lcom/htc/launcher/LauncherProvider;
W/dalvikvm( 3661): Class init failed in newInstance call (Lcom/htc/launcher/faca
de/LauncherProviderFacade;)
D/AndroidRuntime( 3661): Shutting down VM
W/dalvikvm( 3661): threadid=1: thread exiting with uncaught exception (group=0x4
114c300)
E/AndroidRuntime( 3661): FATAL EXCEPTION: main
E/AndroidRuntime( 3661): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at java.lang.Class.newInstanceImpl(Native Method
)
E/AndroidRuntime( 3661): at java.lang.Class.newInstance(Class.java:1319)
E/AndroidRuntime( 3661): at android.app.ActivityThread.installProvider(Ac
tivityThread.java:4733)
E/AndroidRuntime( 3661): at android.app.ActivityThread.installContentProv
iders(ActivityThread.java:4375)
E/AndroidRuntime( 3661): at android.app.ActivityThread.handleBindApplicat
ion(ActivityThread.java:4317)
E/AndroidRuntime( 3661): at android.app.ActivityThread.access$1300(Activi
tyThread.java:142)
E/AndroidRuntime( 3661): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1268)
E/AndroidRuntime( 3661): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 3661): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3661): at android.app.ActivityThread.main(ActivityThrea
d.java:4931)
E/AndroidRuntime( 3661): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 3661): at java.lang.reflect.Method.invoke(Method.java:5
11)
E/AndroidRuntime( 3661): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 3661): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:558)
E/AndroidRuntime( 3661): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3661): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at com.htc.launcher.LauncherProvider.<clinit>(La
uncherProvider.java:79)
E/AndroidRuntime( 3661): ... 15 more
E/AndroidRuntime( 3661): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at com.htc.launcher.util.Logger.<clinit>(Logger.
java:10)
E/AndroidRuntime( 3661): ... 16 more
E/AndroidRuntime( 3661): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at com.htc.launcher.util.SettingUtil.<clinit>(Se
ttingUtil.java:17)
E/AndroidRuntime( 3661): ... 17 more
E/AndroidRuntime( 3661): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3661): at com.htc.htcjavaflag.HtcDebugFlag.getProject(H
tcDebugFlag.java)
E/AndroidRuntime( 3661): at com.htc.htcjavaflag.HtcBuildFlag.getHtc_PROJE
CT_flag(HtcBuildFlag.java)
E/AndroidRuntime( 3661): at com.htc.htcjavaflag.HtcBuildFlag.<clinit>(Htc
BuildFlag.java)
E/AndroidRuntime( 3661): ... 18 more
E/AndroidRuntime( 3661): Caused by: java.lang.UnsatisfiedLinkError: Cannot load
library: link_image[1916]: 1490 could not load needed library 'libhtcflag_nativ
e.so' for 'libhtcflag-jni.so' (reloc_library[1331]: 1490 cannot locate '__htclo
g_init_mask'...
E/AndroidRuntime( 3661): )
E/AndroidRuntime( 3661): at java.lang.Runtime.loadLibrary(Runtime.java:39
1)
E/AndroidRuntime( 3661): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 3661): at com.htc.htcjavaflag.Native.<clinit>(HtcDebugF
lag.java)
E/AndroidRuntime( 3661): ... 21 more
W/ActivityManager( 1752): Force finishing activity com.htc.launcher/.Launcher
W/ActivityManager( 1752): Activity pause timeout for ActivityRecord{41585298 com
.htc.launcher/.Launcher}
So,what is wrong?? can somebody help?
EDIT :
after copying dalvikvm.causes other problems .so i completely removed rom and im using base as these roms.porting from these links.
http://forum.xda-developers.com/show....php?t=2321867
http://forum.xda-developers.com/show....php?t=2184706
http://forum.xda-developers.com/show....php?t=2185699
and now i have completely different problem. system/lib/hw files compability problems
Code:
E/MediaPlayerService(23381): MediaPlayerService(), open failed /sys/power/pnpmgr
/apps/media_mode
E/BandwidthController(23382): runIptablesCmd(): failed /system/bin/iptables -t r
aw -N bw_raw_PREROUTING res=256
E/BandwidthController(23382): runIptablesCmd(): failed /system/bin/ip6tables -t
raw -N bw_raw_PREROUTING res=256
E/logwrapper(23507): executing /system/bin/zcb failed: Permission denied
E/JNIHelp (23508): Native registration unable to find class 'com/broadcom/bt/ser
vice/fm/FmReceiverService', aborting
F/libc (23508): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2350
8 (zygote)
this problem repeating. i copied classes to framework2.jar and services.jar but still doesnt work..i deleted somefiles in system/lib/hw and only changed camera.default.so file.actually im getting about 10 problems.
can somebody help again??
Doğa you need to ask a recognized developer this
Sent from my One V using Tapatalk 4 Beta
any idea??
Are you trying port a sense ROM to non-HTC device?
yes and no lol
i'm trying port sense 5 for htc one v - we didnt get official update.
try to copy dalvikvm
forumber2 said:
try to copy dalvikvm
Click to expand...
Click to collapse
oba abi sen türk değilmisin ya kocaeli-gebze
dalvikvm yi kopyalayınca milyon tane başka bişey istiyor onun yerine şu linklerdeki portları birleştirip htc one v ye portlamayı deniyorum şimdide başka problemler çıktı ama
translate : after copying dalvikvm.causes other problems .so i completely removed rom and im using base as these roms.porting from these links.
http://forum.xda-developers.com/showthread.php?t=2321867
http://forum.xda-developers.com/showthread.php?t=2184706
http://forum.xda-developers.com/showthread.php?t=2185699
devamını ingilizce yazcam yoksa ban veriyolar
and now i have completely different problem. system/lib/hw files compability problems
Code:
E/MediaPlayerService(23381): MediaPlayerService(), open failed /sys/power/pnpmgr
/apps/media_mode
E/BandwidthController(23382): runIptablesCmd(): failed /system/bin/iptables -t r
aw -N bw_raw_PREROUTING res=256
E/BandwidthController(23382): runIptablesCmd(): failed /system/bin/ip6tables -t
raw -N bw_raw_PREROUTING res=256
E/logwrapper(23507): executing /system/bin/zcb failed: Permission denied
E/JNIHelp (23508): Native registration unable to find class 'com/broadcom/bt/ser
vice/fm/FmReceiverService', aborting
F/libc (23508): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 2350
8 (zygote)
this problem repeating. i copied classes to framework2.jar and services.jar but still doesnt work..i deleted somefiles in system/lib/hw and only changed camera.default.so file.actually im getting about 10 problems.
can somebody help again??

[q] App force closes after adding admod SDK

Guys,I am trying to integrate admob SDK in my app from the past 3 hours and have no luck.
I have added the jar libraries ( build path), included in build paths, everything is good there.
main activity :
Code:
// Create the adView
adView = new AdView(this, AdSize.BANNER, MY_AD_UNIT_ID);
// Lookup your LinearLayout assuming it's been given
// the attribute android:id="@+id/mainLayout"
RelativeLayout layout = (RelativeLayout)findViewById(R.id.ad);
// Add the adView to it
layout.addView(adView);
// Initiate a generic request to load it with an ad
adView.loadAd(new AdRequest());
layout
Code:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
android:id="@+id/mainLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
<com.google.ads.AdView
android:id="@+id/ad"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
ads:adSize="BANNER"
ads:adUnitId="a15XZXXXXX3"
ads:loadAdOnCreate="true" />
everything loaded on the manifest file as well!
LOGCAT :
Code:
07-09 15:33:20.362: D/dalvikvm(12621): GC_CONCURRENT freed 188K, 3% free 8916K/9132K, paused 5ms+8ms, total 46ms
07-09 15:33:20.362: E/AndroidRuntime(12621): FATAL EXCEPTION: main
07-09 15:33:20.362: E/AndroidRuntime(12621): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.PACKAGE/com.PACKAGE.MainActivity}: java.lang.NullPointerException
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.access$600(ActivityThread.java:141)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.os.Handler.dispatchMessage(Handler.java:99)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.os.Looper.loop(Looper.java:137)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.main(ActivityThread.java:5041)
07-09 15:33:20.362: E/AndroidRuntime(12621): at java.lang.reflect.Method.invokeNative(Native Method)
07-09 15:33:20.362: E/AndroidRuntime(12621): at java.lang.reflect.Method.invoke(Method.java:511)
07-09 15:33:20.362: E/AndroidRuntime(12621): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
07-09 15:33:20.362: E/AndroidRuntime(12621): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
07-09 15:33:20.362: E/AndroidRuntime(12621): at dalvik.system.NativeStart.main(Native Method)
07-09 15:33:20.362: E/AndroidRuntime(12621): Caused by: java.lang.NullPointerException
07-09 15:33:20.362: E/AndroidRuntime(12621): at com.PACKAGE.MainActivity.onCreate(MainActivity.java:42)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.Activity.performCreate(Activity.java:5104)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
07-09 15:33:20.362: E/AndroidRuntime(12621): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
07-09 15:33:20.362: E/AndroidRuntime(12621): ... 11 more
07-09 15:33:22.877: I/Process(12621): Sending signal. PID: 12621 SIG: 9

[Q] APK does not start

I have a problem when you change string.xml and code compilation does not start me on the device, but is installed after the signing. Pleace hepl me...
07-17 16:03:45.688: W/ResourceType(1295): Bad XML block: header size 28024 or total size 1702240364 is larger than data size 183
07-17 16:03:45.688: D/AndroidRuntime(1295): Shutting down VM
07-17 16:03:45.698: W/dalvikvm(1295): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
07-17 16:03:45.738: E/AndroidRuntime(1295): FATAL EXCEPTION: main
07-17 16:03:45.738: E/AndroidRuntime(1295): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.droidux.components.demo.abs/com.droidux.components.demo.abs.DroidUXDemos}: android.view.InflateException: Binary XML file line #27: Error inflating class com.android.internal.widget.ActionBarContainer
07-17 16:03:45.738: E/AndroidRuntime(1295): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
07-17 16:03:45.738: E/AndroidRuntime(1295): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
07-17 16:03:45.738: E/AndroidRuntime(1295): at android.app.ActivityThread.access$600(ActivityThread.java:141)
07-17 16:03:45.738: E/AndroidRuntime(1295): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
07-17 16:03:45.738: E/AndroidRuntime(1295): at android.os.Handler.dispatchMessage(Handler.java:99)
07-17 16:03:45.738: E/AndroidRuntime(1295): at android.os.Looper.loop(Looper.java:137)
07-17 16:03:45.738: E/AndroidRuntime(1295): at android.app.ActivityThread.main(ActivityThread.java:5041)
07-17 16:03:45.738: E/AndroidRuntime(1295): at java.lang.reflect.Method.invokeNative(Native Method)
07-17 16:03:45.738: E/AndroidRuntime(1295): at java.lang.reflect.Method.invoke(Method.java:511)
07-17 16:03:45.738: E/AndroidRuntime(1295): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
07-17 16:03:45.738: E/AndroidRuntime(1295): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
07-17 16:03:45.738: E/AndroidRuntime(1295): at dalvik.system.NativeStart.main(Native Method)
07-17 16:03:45.738: E/AndroidRuntime(1295): Caused by: android.view.InflateException: Binary XML file line #27: Error inflating class com.android.internal.widget.ActionBarContainer
LukaszEnt said:
I have a problem when you change string.xml and code compilation does not start me on the device, but is installed after the signing. Pleace hepl me...
07-17 16:03:45.688: W/ResourceType(1295): Bad XML block: header size 28024 or total size 1702240364 is larger than data size 183
07-17 16:03:45.688: D/AndroidRuntime(1295): Shutting down VM
07-17 16:03:45.698: W/dalvikvm(1295): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
07-17 16:03:45.738: E/AndroidRuntime(1295): FATAL EXCEPTION: main
07-17 16:03:45.738: E/AndroidRuntime(1295): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.droidux.components.demo.abs/com.droidux.components.demo.abs.DroidUXDemos}: android.view.InflateException: Binary XML file line #27: Error inflating class com.android.internal.widget.ActionBarContainer
07-17 16:03:45.738: E/AndroidRuntime(1295): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
07-17 16:03:45.738: E/AndroidRuntime(1295): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
07-17 16:03:45.738: E/AndroidRuntime(1295): at android.app.ActivityThread.access$600(ActivityThread.java:141)
07-17 16:03:45.738: E/AndroidRuntime(1295): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
07-17 16:03:45.738: E/AndroidRuntime(1295): at android.os.Handler.dispatchMessage(Handler.java:99)
07-17 16:03:45.738: E/AndroidRuntime(1295): at android.os.Looper.loop(Looper.java:137)
07-17 16:03:45.738: E/AndroidRuntime(1295): at android.app.ActivityThread.main(ActivityThread.java:5041)
07-17 16:03:45.738: E/AndroidRuntime(1295): at java.lang.reflect.Method.invokeNative(Native Method)
07-17 16:03:45.738: E/AndroidRuntime(1295): at java.lang.reflect.Method.invoke(Method.java:511)
07-17 16:03:45.738: E/AndroidRuntime(1295): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
07-17 16:03:45.738: E/AndroidRuntime(1295): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
07-17 16:03:45.738: E/AndroidRuntime(1295): at dalvik.system.NativeStart.main(Native Method)
07-17 16:03:45.738: E/AndroidRuntime(1295): Caused by: android.view.InflateException: Binary XML file line #27: Error inflating class com.android.internal.widget.ActionBarContainer
Click to expand...
Click to collapse
any ideas, I can not run a pre-built application
your xml is wrong. check it.

Categories

Resources