android-runtime Questions

7

We know that Dalvik uses APK, DEX, and ODEX files. And we know this abbreviation means via AOSP source or Developers site. (like this - https://source.android.com/devices/tech/dalvik/dex-format.ht...
Devise asked 10/2, 2015 at 15:47

2

I have a Pixel-C that I am developing for. My minimum API level is 21, which is also the level at which ART replaced Dalvik. I have tried both of: adb shell setprop dalvik.vm.enableassertions all ...
Glyptograph asked 14/3, 2016 at 20:44

2

Solved

I've got a warning in my logcat: W/art: Verification of void com.myapp.LoginFragment$override.lambda$logIn$5(com.myapp.LoginFragment, java.lang.Throwable) took 217.578ms Here's the code: subscr...
Cunning asked 3/5, 2016 at 14:27

0

Lately when I try debugging an android test instrumentation APK, every time the app is launched I see something like this in the logcat W/com.myapp: Verification of void com.myapp.test.hiptest.Act...
Piscary asked 13/3, 2019 at 12:44

2

Solved

Google is moving from Dalvik to ART(Android Runtime). I was trying to understand, how it is going to improve the performance. The best explanation I found is the below image: One of the main c...
Torosian asked 8/10, 2014 at 10:21

1

i'm trying to implement Marshmallow's permission support, but my code inside "onRequestPermissionsResult" is never called. When working in an Activity its working but in fragment I am facing the ...
Progesterone asked 16/5, 2017 at 11:0

2

Prior to Android 5.0 I was able to load DEX files dynamically using DexClassLoader and calling loadClass() method but with the latest Android version I get a ClassNotFoundException. Here is what I...
Concerned asked 7/12, 2014 at 23:24

1

Solved

I have the following test, where the test name is with space and backtick for my instrumental test @RunWith(AndroidJUnit4::class) class MyTestClass { @Rule @JvmField var activityRule: ActivityT...

1

The following is the stacktrace. The source code where the crash originates is here. I traced the stacktrace until android's source code which is here. I'm unable to understand what this means an...
Overact asked 29/6, 2018 at 10:1

2

I'm having these warnings in my logcat even after a while that i left the application. (Didn't kill though, just pressed back to leave it.) 05-03 13:43:42.955 13047-13053/package W/art: Suspending...

1

I'm having a really weird problem in an Android app. After a certain point (around when the main activity starts and a fragment is displayed) the FinalizerDaemon just stops processing objects and g...
Checklist asked 3/5, 2016 at 10:3

2

Solved

While trying to optimize the build and deployment speed for debugging an app I found large chunk of time was spent executing /system/bin/dex2oat during installation. This is the ART ahead of time c...
Ruel asked 2/7, 2015 at 2:30

2

Solved

I created a method that's only called in one place - from onBindViewHolder() in a RecyclerView. It was a logical unit of code, and I think that extracting that code block into a method improved rea...
Vicenta asked 20/4, 2016 at 18:13

2

Solved

I am trying to add Android 6.0 support in my Existing Android App. I have used SYNCADAPTER to sync data. its working fine till API 22. but in 23 (ANDROID 6.0) they have remove Group permission AUTH...

2

I have a published app that gets reports about a ClassNotFoundExceptionfrom users that I went beyond my wits end trying to fix. I have not been able to reproduce this crash and similar instances of...
Egarton asked 31/3, 2016 at 20:15

2

Solved

Firstly, I think I may have titled this question poorly, but I couldn't think of the right words, so please, feel free to suggest an edit and I will make it, so that the question is more educationa...
Docile asked 31/3, 2016 at 13:49

2

Solved

I want to show permission prompt where user can accept the access of that permission,Like i want to access users contacts so i want to show prompt with two option allow and deny any example a...
Campbellbannerman asked 19/3, 2016 at 5:49

0

I'm working on an app that instantiates several MediaCodec instances for decoding streaming audio and video data to a SurfaceTexture on an Nvidia TX1 development kit. After a few minutes of just us...
Graycegrayheaded asked 1/3, 2016 at 22:8

1

Solved

I'm getting a weird error using the Aviary SDK for some users who are using ART. I'm confused on why this happening (only on 4.4.x obviously) as the app works perfectly when calling this SDK on Dal...
Murmur asked 6/6, 2014 at 14:2

1

I'm working on an app that handles a lot of allocations (on the order of 4 million doubles and a million classes). I was looking through garbage collector logs and I'm seeing different amounts of m...
Managing asked 30/7, 2015 at 18:46

1

Solved

After recent update of my application in Google Play, I started receiving lot of crash reports, all of them are from Samsung devices with Android 5. Lower android versions work fine and devices of ...

1

Solved

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 GoogleAPIClien...
Avocado asked 20/12, 2014 at 11:6

4

Solved

Is .apk file based installation supported on Tizen Os ?
Retharethink asked 10/1, 2013 at 13:54

1

Solved

ART is the next generation of Dalvik. Is there anyway to emulate it with Android emulators or with Genymotion ?
Tenishatenn asked 6/11, 2013 at 7:44
1

© 2022 - 2024 — McMap. All rights reserved.