Open rotinom opened 3 years ago
You may need to disable hardware OpenGL.
First start the emulator. Then, from the sidebar, click on the vertical bar "…" icon.
Setting->Advanced: Under “OpenGL ES renderer”: Choose “SwiftShader” Under “OpenGL ES API level”: Choose “Renderer maximum (up to OpenGL ES 3.1)” Then, exit/shut down the emulator.
I have been what seems to be the same issue. I was able to attach a debugger and I see this stack trace in the logcat. If I click the square to see processes it appears ATAK is still at the loading screen.
2022-03-04 14:03:54.786 21582-24695/com.atakmap.app.civ E/FileSystemUtils: soft warning, file name did not pass sanity check: /storage/emulated/0/atak/attachments/ANDROID-BC%3A7F%3AA4%3A0F%3AD2%3A7D/ java.lang.Exception at com.atakmap.coremap.filesystem.FileSystemUtils.sanitizeWithSpacesAndSlashes(SourceFile:1032) at com.atakmap.android.util.AttachmentManager.getFolderPath(SourceFile:377) at com.atakmap.android.util.AttachmentManager.getFolderPath(SourceFile:401) at com.atakmap.android.attachment.AttachmentBroadcastReceiver.onMapEvent(SourceFile:91) at com.atakmap.android.maps.MapEventDispatcher.dispatch(SourceFile:280) at com.atakmap.android.maps.MapGroupItemsChangedEventForwarder.onItemRemoved(SourceFile:45) at com.atakmap.android.maps.MapGroup.dispatchItemRemoved(SourceFile:649) at com.atakmap.android.maps.MapGroup.removeItem(SourceFile:731) at com.atakmap.android.maps.MapItem.removeFromGroup(SourceFile:699) at com.atakmap.android.cot.CotMarkerRefresher.checkStaleTeams(SourceFile:285) at com.atakmap.android.cot.CotMapComponent$8.run(SourceFile:665) at java.util.TimerThread.mainLoop(Timer.java:562) at java.util.TimerThread.run(Timer.java:512)
You may need to disable hardware OpenGL.
First start the emulator. Then, from the sidebar, click on the vertical bar "…" icon.
Setting->Advanced: Under “OpenGL ES renderer”: Choose “SwiftShader” Under “OpenGL ES API level”: Choose “Renderer maximum (up to OpenGL ES 3.1)” Then, exit/shut down the emulator.
I don't know how you discovered this, or who else needs to know, but this saved me when trying to resurrect an old project, with ATAK v4.9, Android Studio Flamingo | 2022.2.1 Patch 2, and emulating Pixel C API 34 and Pixel 3a API 34.
In fact, I only needed the second part - just the "Renderer maximum (up to OpenGL ES 3.1)".
Name: Pixel_4_API_30_2
CPU/ABI: Google Play Intel Atom (x86_64)
Path: C:\Users\rotin.android\avd\Pixel_4_API_30_2.avd
Target: google_apis_playstore [Google Play] (API level 30)
Skin: pixel_4
SD Card: 512M
fastboot.chosenSnapshotFile:
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: pixel_4
hw.lcd.width: 1080
hw.initialOrientation: landscape
image.androidVersion.api: 30
tag.id: google_apis_playstore
hw.mainKeys: no
hw.camera.front: emulated
avd.ini.displayname: Pixel 4 API 30 2
hw.gpu.mode: auto
hw.ramSize: 1536
PlayStore.enabled: true
fastboot.forceColdBoot: no
hw.cpu.ncore: 4
hw.keyboard: yes
hw.sensors.proximity: yes
hw.dPad: no
hw.lcd.height: 2280
vm.heapSize: 256
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
hw.audioInput: yes
image.sysdir.1: system-images\android-30\google_apis_playstore\x86_64\
showDeviceFrame: yes
hw.camera.back: virtualscene
AvdId: Pixel_4_API_30_2
hw.lcd.density: 440
hw.arc: false
hw.device.hash2: MD5:6b5943207fe196d842659d2e43022e20
fastboot.forceChosenSnapshotBoot: no
fastboot.forceFastBoot: yes
hw.trackBall: no
hw.battery: yes
hw.sdCard: yes
tag.display: Google Play
runtime.network.latency: none
disk.dataPartition.size: 2G
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes