The Android Runtime, or ART for short, is an Android runtime which was made available in Android 4.4 and is the default runtime in Android from 5.0 onward, superseding the Dalvik runtime. ART compiles app's bytecode to native code using the dex2oat on-device compiler suite and executes them.
Questions tagged [android-runtime]
175 questions
1
vote
0 answers
Android ART loading dex failure
Build fingerprint: GiONEE/F103/GiONEE_GBL7319:5.0/LRX21M/1433132360:user/release-keys
pid: 28431, tid: 28459 >>> com.lily.web <<<
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr d3b0f000
#00 pc 0x0 /data/data/***/jars_fusion.dex (???)
…

Verdigrass
- 1,203
- 12
- 14
1
vote
2 answers
Android- my app crashes immediately I try to run on my AVD
I have been learning android app development with a personal challenge of a tax app. I don't see any error in the text editor but anytime I run the app on my AVD, the app crashes even before i see the launch page.
MY Manifest file

Fred
- 9
- 3
1
vote
0 answers
Getting Runtime in Android Not bringing the right runtime
I'm trying to get the runtime in my device, I've tested the following methods in 2 devices, Xperia Z1, Note 4.
The following codes I've tried :
private String getIsArtInUse() {
return System.getProperty("java.vm.version");
}
This code returns 2.1,…

Jaeger
- 1,646
- 8
- 27
- 59
1
vote
1 answer
Lifetime of the process that spawned a thread
Suppose I have a BroadcastReceiver registered in manifest, and my app is not active. So the new process will be spawned and onReceive() method of BroadcastReceiver would be triggered on the main thread of this new process.
Now, I spawn a thread…

Kurovsky
- 1,081
- 10
- 25
1
vote
1 answer
How to combine shape drawable and drawable into single drawable
I am generating shape drawable and drawable runtime in android programmatically. What all I need is to combine two drawable into single drawable. I tried to implement through following methods, but nothing seems to work out.
Sample code to combine…

Chandru
- 5,954
- 11
- 45
- 85
1
vote
0 answers
Install time verification of android Apps by ART vs DVM
What kind of install time verification does DVM perform for an android App and what kind of tighter verification did ART introduce as compared to DVM.

Vinod Akkepalli
- 139
- 1
- 9
1
vote
1 answer
Android: Can we create bitmaps with Strings on it on the application runtime?
I want to create a Bitmap with some string data on it, and later send it to my mobile printer.
How can we do that?

Muayad Salah
- 701
- 1
- 8
- 19
1
vote
2 answers
Best practice for executing timed actions in Android
In a specific part of my code in need to run 3 actions in a a timed space, right now i am using this method:
Handler mHander = new Handler();
public void startChainActions(){
// do first action
mHandler.postDelayed(new Runnable() {
…

Ziv Kesten
- 1,206
- 25
- 41
1
vote
1 answer
Runtime errors while Launching the Map
Here's my onCreate() Method..The two commented lines were used previously to launch the map and it worked fine.Later I found out Google doen't use LocationClient anymore and they use GoogleAPIClient instead.So I changed it.
@Override
protected…

SNT93
- 431
- 1
- 6
- 19
1
vote
1 answer
Find out android runtime version
Is there is was to find out what android runtime version is currently used?
For example, on android v4.4 you can swipe between dalvik and art and i want to find out this information in runtime.
10x.

user1733773
- 360
- 2
- 14
1
vote
1 answer
Android method with default (package) visibility called incorrectly with ART
I've a two classes in different packages like this.
Base class:
package com.example.artpackageprivate.base;
public class Base {
protected final Context mContext;
public Base(final Context context) {
mContext = context;
}
…

bio007
- 893
- 11
- 20
0
votes
0 answers
How to find a clue from "Runtime aborting..." crash
An app running on a specific Android TV device periodically has the following crash:
Cmdline: com.mydomain.myapp
pid: 28890, tid: 3124, name: CodecLooper >>> com.mydomain.myapp <<<
Davey! duration=754ms; Flags=0, FrameTimelineVsyncId=15812495,…

Hong
- 17,643
- 21
- 81
- 142
0
votes
0 answers
What is the Memory model of DVM or ART in Android
I could not find any docs related to Memory model of DVM or ART. Since DVM is based on register instead of stack so there should be some difference in Memory Model too.
Please explain the memory model of DVM with supporting docs.

Ankur Samarya
- 219
- 1
- 3
- 15
0
votes
0 answers
Error inflating class android.view.InflateException
I am learning Android development I got this error after I change the layout background to a drawable.
I am getting this error
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.hemantmaurya.storemanagementapp, PID: 8595
…

Hemant Maurya
- 17
- 4
0
votes
0 answers
Collect full device logs from an Android APP
I am developing an Android App that I am targeting for Android 13 or higher. In the APP I am performing continuous updates and for each update, I want to collect logs of the full device including update_engine's logs, so in case any update fails I…

Bajrang Hudda
- 3,028
- 1
- 36
- 63