Questions tagged [android]

Android is an operating system for mobile devices developed and maintained by Google, Inc. This tag should contain specific programming questions about Android.

Filter by
Sorted by
Tagged with
1 vote
1 answer
39 views

Texture loading issue with open gl es on android

I'm programming an app with OpenGL ES on Android in Java. The app uses 9 textures during a render loop pass. A depth, position, normal, albedo, noise, SSAO, SSAO blur and two image textures for the ...
Patrick's user avatar
  • 111
0 votes
0 answers
38 views

Unity AAB build breaks with "split application binary" checked

I am currently encountering a challenge similar to the one described by a fellow Unity developer in this forum thread. I am using Unity version 2022.3.10f and configuring asset bundles while building ...
ForBuy Rust's user avatar
0 votes
0 answers
38 views

com.android.build.gradle.internal.tasks.compressassetsworkaction

When I build with asset size of above 5gb, it shows "com.android.build.gradle.internal.tasks.compressassetsworkaction" in unity. How to resolve it?. It's a video file. When I use low ...
Deva Kumar's user avatar
0 votes
1 answer
53 views

Building Android .aab from Unity

I have a VR game developed in Unity for Oculus and I want to create an Android App Bundle to upload it to the play store as a mobile game too. When I go into build I select this options: And here is ...
Alejandro's user avatar
7 votes
1 answer
1k views

For Google Play, what kinds documentation can I provide to prove I have permission to use a third party's music in my game?

I'm working on an indie rhythm game for Android that uses pre-existing music. We got the OK from the original artist to use said music on the condition that we release the game for free. However, ...
Neon Android's user avatar
0 votes
0 answers
30 views

How to keep music playing continuously when switching scenes? [duplicate]

I added music to my game, but it restarts when transitioning between scenes. I want it to play continuously without interruption. What should I do?
ali aydınlıoğlu's user avatar
0 votes
0 answers
99 views

"Unable to create keystore" message from Unity for Android

I want to build a project with a release aab version. Unity asks me to create a keystore, and when I create one, it show this message: Android/2023.1.911/Editor/2023.3.0a6/Editor/Data/PlaybackEngines/...
Ali Ahmed's user avatar
0 votes
0 answers
44 views

How to adjust resolution to display only in portrait mode for both phones and tablet devices?

I am facing an issue where I'm able to adjust the resolution for different phones like Android and iOS but not for tablet devices. Is there any way to set it, for all kinds of devices, to display only ...
Mohammed Rilwan Ibrahim's user avatar
0 votes
0 answers
71 views

How to send camera feed to Python script in Unity?

I have an image recognition code in Python and I need the input image to come from the Webcam in Unity. I've seen the Python Scripting package and the method of using a websocket and take the app as ...
Nicolas Cordoba's user avatar
0 votes
0 answers
128 views

Unity Compute Shader InterlockedMin Max not work on Android

I have a Compute Shader which uses InterlockedMin() and InterlockedMax(). The Compute Shader works very well on my PC (AMD ...
Khang Dinh Hoang's user avatar
0 votes
1 answer
496 views

Unity Burst Compiler failed — could not load System.Diagnostics.Tracing

I am using Unity 2023.3.f1 When building an Android app I get the following. I have zero idea what this means. I've tried searching elsewhere but found nothing to fix it. ...
theblitz's user avatar
  • 123
0 votes
0 answers
49 views

Jagged peak artifacts on terrain

My terrain rendering shows these jagged peaks along the edges of some hills: Why do these occur, and how can I fix this? Here is the code I use to initialize my surface and draw a frame: ...
Ramazan ŞAHİN's user avatar
0 votes
0 answers
64 views

GooglePAD and Chunking to Reduce .aab Size

I would like to upload a large Android game to the Play Store. My .aab file is about 1.3 GB in size. When I try to upload it to the Play Store I get the following error message: ...
Stout's user avatar
  • 101
0 votes
0 answers
126 views

Unity fails to build Android player, gives ambigous error

I'm trying to build an android player, (worked like a charm yesterday), and I'm getting a single error when it fails ...
Yakuman's user avatar
0 votes
0 answers
41 views

list of il2cpp breaking features

as you may know, il2cpp build does not work like mono build or playing just in the editor. there are some c# features or libraries/plugins that make il2cpp doesn't work properly. most of the time ...
virtouso's user avatar
  • 2,588
1 vote
1 answer
69 views

Cannot find game library when trying to port game to android

I've been working on a project of mine(a game with SDL3 + OpenGL ES 3.2), and as of right now I want to port it to android with android NDK, I compile my game as a library(compiles and links correctly,...
koogel's user avatar
  • 79
1 vote
0 answers
612 views

Unity 2021/2022 laggy/stuttering Android performance compared to Unity 2020

I have been working for quite a lot of time with the Unity 2020.3 LTS releases and everything seems to be running smoothly when building for the Android platform. I recently decided to upgrade the ...
Panagiotis Iatrou's user avatar
0 votes
0 answers
31 views

Using Maps SDK for Android in Unity

I just started a project on Unity, where I'm a total beginner. I want to use Google Maps road data from Unity for my mobile game, and I've first looked at using the Maps SDK for Unity. Unfortunately ...
Nereid Regulus's user avatar
1 vote
0 answers
119 views

How to make custom godot export template for android on linux?

I want to make custom godot export templates for android to use them instead of official export templates on linux. These templates are intended to not include 3d editor, 3d nodes or advanced ...
MAGS94's user avatar
  • 157
0 votes
1 answer
124 views

How to improve performance of LiBGDX Android app?

After creating a few bodies and a map with collisions, the app performance clearly goes down. However, RAM and CPU don't seem fully stuck, but the game experience is horrible nonetheless. GameScreen ...
ognevo's user avatar
  • 1
0 votes
1 answer
132 views

Custom TextMeshPro Shader doesn't render on Android

I wanted to make build of a project using custom shader for TextMeshPro text assets. It renders nicely on PC but It gives me block instead when build for the meta Quest 2. For me it looks like it ...
Felox's user avatar
  • 67
0 votes
0 answers
50 views

Sprite Asset Optimisation

I am writing a game for Android which combines open world questing and an RPG party development playstyle, and as such, I am finding it a very tight balancing act to get more content into that game ...
Fluffeh's user avatar
  • 116
1 vote
0 answers
28 views

Android TMX library no tile animation

Did anyone use this library? I am wondering if this library has a possibility to display tile animation? When I try to show my "abc_main.tmx" map (created in Tiled application) the tile with ...
mnietuniema's user avatar
0 votes
0 answers
34 views

Position buttons near selected building in zoomed view

I am developing my first libGDX game. There is a TextureRegion (map) on which buildings are drawn. There is an implementation of camera movement and a zoom ...
Zerg's user avatar
  • 11
1 vote
0 answers
72 views

Animate buttons sliding in

I am developing my first libGDX game. I want to animate the buttons on the stage, so they transition into view instead of just popping into appearance. For example, each button should slide in from ...
Zerg's user avatar
  • 11
0 votes
1 answer
982 views

Google Play requires new apps to have API level 33 (starting on Aug, 21, 2023). Can these apps be installed and played on phones with lower API's?

Today (March 21, 2023), Google sends out an email to developers as follows: Starting August 31, 2023: New apps and app updates must target API level 33 to be submitted to Google Play (Wear OS must ...
Job_September_2020's user avatar
0 votes
0 answers
73 views

"Build Disabled For Android" shown when using command line for build

I use my build server to build my game on GitHub merges. One of the errors I face is: ...
virtouso's user avatar
  • 2,588
1 vote
1 answer
133 views

Notification function doesn't work as intended in Godot

I have a situation where _notificaion doesn't work as intended. I have three scenes: game scene (named Puzzle), main menu scene (...
MAGS94's user avatar
  • 157
0 votes
0 answers
652 views

Gradle build failed after adding ads

There is problem with Android building. After adding ads, when I click on build, it shows the following error: Issue with Android dependencies detected: The SDK has resolved to an incompatible ...
Ch.Muhammad.Bin.khalid's user avatar
2 votes
1 answer
754 views

What is the "Built-in Texture2D"? How to reduce its size or remove it?

I am building an APK in Unity. The build log says this: ...
Job_September_2020's user avatar
0 votes
0 answers
106 views

Use Universal-LPC-Spritesheet-Character-Generator in Android game

I am writing an Android game. I wonder if there is a possibility to use this sprite generator https://sanderfrenken.github.io/Universal-LPC-Spritesheet-Character-Generator/#?body=Body_color_light&...
Jawegiel's user avatar
0 votes
1 answer
2k views

Unity saving file on Android

I'm attempting to save player data into a Saves folder like so: ...
David Starkey's user avatar
0 votes
1 answer
134 views

Android Specifications : What are the integer values for "small" screen size, "normal" screen size, ldpi, mdpi, hdpi?

Android has this document where they define thee terms for screen size, and pixel density such as screenSize="small", "ldpi". Here is the link to that document: https://developer....
Job_September_2020's user avatar
0 votes
0 answers
45 views

How to modify AndroidManifest.xml or any other config files to build the APK for ONLY foldable phones?

I want to build an APK in Unity for ONLY foldable phones. There is a tutorial from Samsung website, but it only tells us how to dynamically resize the app in case of a foldable phone. Unfortunately, ...
Job_September_2020's user avatar
1 vote
1 answer
3k views

Can't play my .apk on Pico VR due to Copyright Verification error

I’m learning to use Unity to create VR applications for my company to use internally. I created an app that worked great on the Quest 2, and decided to try to do this for Pico as well. I followed a ...
Wes Tomer's user avatar
  • 141
0 votes
1 answer
854 views

Unity App working on one phone but crashes on another with the same API level

I built a Unity AR app which worked on my phone. However, on sharing the APK to another phone with the same Android version, it crashes on startup. I've tried increasing the target API level to max, ...
Apocalypse's user avatar
1 vote
1 answer
1k views

WebViewControl.java:122 cannot find symbol when packaging Unreal 4 game for Android

Whenever I try to package my project for Android I get this. Z:\app\src\main\java\com\epicgames\ue4\WebViewControl.java:122: error: cannot find symbol My setup: ...
GEO's user avatar
  • 13
0 votes
1 answer
1k views

Duplicate class errors when building app larger than 150mb with Android App Bundles

I have been trying to get Asset Bundles to work since my app is larger than 150MB, but the Google -> Build Android App Bundle... step keeps failing on me. I am ...
Fabio S.'s user avatar
  • 435
0 votes
0 answers
806 views

UnityEngine.AddressableAssets.InvalidKeyException

Unity version 2020.3.20f1. I am getting this error in the console. The game is working fine in Unity but not in the apk. In apk the scene is loading finely but throwing this error and the characters ...
Harsh Gupta's user avatar
1 vote
0 answers
219 views

Mobile device heat up. What time before it heats up is considered good? Android/IOS Unity [closed]

could not find anything that answers this in a detailed way ? I managed to optimise the game to the point that the device heat up(real heat up and frame drop) only after 90 min of continuous gameplay. ...
Brother_77's user avatar
0 votes
0 answers
457 views

How to solve andriod build problem?

I downloaded Unity 2021.3.6f1 from Unity Hub for Windows and Android Build but Unity didn't download the gradle which is required for Android build so i download gradle 7.5 and linked it to unity but ...
Ch.Muhammad.Bin.khalid's user avatar
1 vote
0 answers
100 views

Libgdx table contents are expanding beyond widget bounds

I have a libgdx table that initially looks like this... And I'd like the last cell to expand so that the logical bounds fill the widget bounds. As soon as I set the last cell to expandX it looks like ...
The Shoe Shiner's user avatar
1 vote
0 answers
1k views

How to hide the TouchScreenKeyboard's input field in Unity on Android?

Unity for Android suggests that you can hide the TouchScreenKeyboard's input field with the command TouchScreenKeyboard.hideInput. Superficially this looks like it ...
mike's user avatar
  • 481
-1 votes
2 answers
76 views

Error when creating random buttons

...
kot may's user avatar
0 votes
0 answers
38 views

How to increase performance of Android AR scene

I'm wondering how to improve speed on this scene for AR on Android, since it's still sluggish. From what I could see, Unity instanced the particle system meshes automatically (is that correct?). I'm a ...
StackBuddy's user avatar
1 vote
1 answer
115 views

Google Play Games achievements have 0xp

I'm currently working on adding achievements to an existing game. Achievements are not published yet. When unlocking an achievement, we have system popup that says it gained 0xp. Every achievement ...
nemo91944's user avatar
0 votes
0 answers
129 views

How to shade the whole Google Map except for radii?

I am implementing line-of-sight into a strategy game I am developing, and I would like to shade the map darker outside of the LoS of the player and their structures (fog of war). The trick is, this is ...
TheBiscuit's user avatar
1 vote
0 answers
38 views

Can you please try my game? [closed]

I have a game on Google Play finally. I have zero budget. Can you please try it and tell me what you think? Thank you. [Link removed by moderator]
Mad App's user avatar
  • 11
-1 votes
1 answer
118 views

Can I use Libgdx to create a game that runs on multiple platforms?

I created my first game using Libgdx and Android Studio. The game runs smoothly on my Android phone. How can I run it on an Apple phone with IOS or a computer with Linux etc.?
Luca Leone's user avatar
0 votes
1 answer
91 views

Error using Asset Manager for loading files from Android temp directory (libgdx)

I'm creating a game for Android using libgdx and Google Firebase for storage. In my Loading screen I download a file from Google Firebase Storage and store it in a temp file. After the dowload ends ...
Pablo Ajo's user avatar

1
2 3 4 5
46