177 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
81
views
Unable to Access SD card in android application(unity) at runtime
I have built android app in unity which contains the scenes, in my app there are 3 scenes one of them are in apk build and other 2 are addressables(packed as .BUNDLE ) and i stored them on sd card. In ...
0
votes
0
answers
43
views
Impact on ART due to process termination from exception
I'm working on an Android app consisting of Kotlin (for the UI/UX) and C++ (app logic). I'm using JNI to bridge C++ to Kotlin. When a new thread is created, AttachCurrentThread is invoked to attach ...
1
vote
1
answer
63
views
String#indent() NoSuchMethodError in Android Runtime of the Android Studio's emulator
I need to run a project on an Android Studio emulator, but the emulator's JVM is missing a method.
When a source code that has been successfully tested on physical devices (ranging from API 31 - 33) ...
1
vote
1
answer
116
views
What could cause ART (Android Runtime) to deadlock while unloading a native library?
I have been trying to debug a non user perceivable crash in my app (I think it happens in the background) that originated from the Android Runtime due to possibly a deadlock/thread contention.
...
1
vote
0
answers
214
views
How to debug native android runtime(ART) module fast through gdb/lldb etc.?
I run android system on my linux with emulator, and now I want to debug android runtime(ART).
I can debug through the following methods now:
first replace the system's libart with debug_info library.
...
0
votes
1
answer
69
views
Why register on the call-site is different from the implementation-site?
Let's consider a simple function:
fun main() {
greet("world")
}
fun greet(name: String?) {
if (name != null) {
println("Hello $name!")
} else {
...
1
vote
2
answers
122
views
Why when I use API in every Flutter my Emulator paused?
Why when I use the API in any Flutter project, the application stops after running the application with the Emulator
?
I Should click the continue button for see result
but, When I run with Chrome or ...
1
vote
0
answers
301
views
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 <<<
...
0
votes
0
answers
389
views
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....
1
vote
1
answer
100
views
Is asking for runtime permission necessary in android if I am writing to my apps internal directory?
Is it necessary to ask for runtime permission for my app that has read and write external storage permission declared in manifest.xml file? Note,I am only reading and writing to my app internal ...
0
votes
1
answer
44
views
How to get rid of the resource not found exception when clicked on item view on recycler view and instead of data and activity lauch, it crashes app
I have built an app to learn the use of adapter and recycler view.
It contains a recycler view and adapter, it uses data class to show data on clicked to an item of the recycler view, but the app ...
1
vote
1
answer
122
views
Does calling Java's JVM instance-altering functions have any affects in an Android application?
For example, in Java's Locale class documentation it says that Locale.setDefault()
Sets the default locale for this instance of the Java Virtual Machine.
This does not affect the host locale.
Since ...
1
vote
0
answers
483
views
E/AndroidRuntime: FATAL EXCEPTION: main macbook M1
The project run with no error on my MacBook intel chip but it gave me E/AndroidRuntime: FATAL EXCEPTION: main on M1 chip I can't find where the problem is.
I suppose there is no error in my code ...
0
votes
1
answer
73
views
Does Dalvik create stacks to manage threads
Unlike JVMs, which are simple stack-based machines, the Dalvik VM uses a register-based — which requires fewer instructions, avoids unnecessary memory access — resulting in better performance code.
...
1
vote
0
answers
283
views
What does "loading a class" mean with the Android Runtime (ART) when using reflection?
I try to understand the process of ART when using reflection. As it can be seen in the simple example below, the DexClassLoader is used to load a class from the DEX-file. The question now is what is ...