Mark,
it will run in the emulator until I try to open the vehicle tab (tab
2). According to the log, it tries to allocate some huge amount of
memory:
12-11 19:39:17.044: D/dalvikvm(401): GC_EXTERNAL_ALLOC freed 918K,
53% free 2995K/6343K, external 2284K/2709K, paused 39ms
12-11 19:39:17.194: D/dalvikvm(401): GC_EXTERNAL_ALLOC freed 9K, 53%
free 2987K/6343K, external 3723K/3751K, paused 32ms
12-11 19:39:17.294: D/dalvikvm(401): GC_EXTERNAL_ALLOC freed <1K,
53% free 2989K/6343K, external 5162K/5548K, paused 32ms
12-11 19:39:17.374: D/dalvikvm(401): GC_EXTERNAL_ALLOC freed <1K,
53% free 2991K/6343K, external 7321K/7345K, paused 33ms
12-11 19:39:17.444: D/dalvikvm(401): GC_EXTERNAL_ALLOC freed <1K,
53% free 2993K/6343K, external 8794K/10041K, paused 34ms
12-11 19:39:17.464: E/dalvikvm-heap(401): 1302960-byte external
allocation too large for this process.
12-11 19:39:17.494: E/GraphicsJNI(401): VM won't let us allocate
1302960 bytes
12-11 19:39:17.494: D/dalvikvm(401): GC_FOR_MALLOC freed <1K, 53%
free 2993K/6343K, external 8794K/10041K, paused 19ms
12-11 19:39:17.504: D/skia(401): --- decoder->decode returned
false
12-11 19:39:17.504: D/AndroidRuntime(401): Shutting down VM
12-11 19:39:17.504: W/dalvikvm(401): threadid=1: thread exiting with
uncaught exception (group=0x40015560)
12-11 19:39:17.524: E/AndroidRuntime(401): FATAL EXCEPTION: main
12-11 19:39:17.524: E/AndroidRuntime(401):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.openvehicles.OVMS/com.openvehicles.OVMS.ui.TabCar}:
android.view.InflateException: Binary XML file line #55: Error
inflating class <unknown>
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.app.ActivityThread.startActivityNow(ActivityThread.java:1487)
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127)
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:654)
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.widget.TabHost.setCurrentTab(TabHost.java:326)
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:132)
12-11 19:39:17.524: E/AndroidRuntime(401): at
android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:456)
...
I thought that could be due to the VM. But if I try to install the
self-signed .apk on my phone, the installation simply aborts with
"application not installed" after accepting the rights, no further
error message displayed. I've got an HTC DHD running the latest
(HTC!) Android version 2.3.5 API level 10. Emulator is configured
for API level 10 (2.3.3) as well.
That's my first ADK contact, so maybe I'm missing something.
Regards,
Michael
Am 11.12.2012 03:56, schrieb Mark
Webb-Johnson:
It should build, but is not yet feature complete.
What is the error you are getting?
On 11 Dec, 2012, at 3:01 AM, Michael Balzer wrote:
Mark, Eugene(?),
Am 22.10.2012 02:47, schrieb
Mark Webb-Johnson:
The OVMS Android project on github is here:
I've got some problems getting the current version from
the repo to work. Should that be usable or is it unstable?
Thanks,
Michael
--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
<dexter.vcf>_______________________________________________
OvmsDev mailing list
OvmsDev@lists.teslaclub.hk
http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________
OvmsDev mailing list
OvmsDev@lists.teslaclub.hk
http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26