Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
0 votes
0 answers
49 views

Google Play Games integration issue: Returning an error code

I'm using Play Games for Unity plugin to work with GPGS. https://github.com/playgameservices/play-games-plugin-for-unity But every time I tried to authenticate, it failed with these error messages: <...
modernator's user avatar
  • 1,213
0 votes
0 answers
46 views

Unity Audio plays with 5-10 second delay

I have wanted to make something like a rhythm game for Android in Unity, and for that I needed to write an audio manager to play my songs and sound effects in-game. I have followed Brackeys' tutorial ...
CheckerT's user avatar
0 votes
1 answer
44 views

Broken graphics in a compiled Android application

Why is it that when I compile this application in Unity for Android, the graphics completely break (camera image output). Maybe I need to set something special in the Player settings? I'm using the ...
Stiven's user avatar
  • 11
1 vote
0 answers
52 views

Verifying user app license from server side using Google Play Licensing for paid app

In https://developer.android.com/google/play/licensing/server-side-verification it was said that it is possible to perform license verification check on a server. The step for server-side license ...
aaa's user avatar
  • 117
1 vote
0 answers
52 views

Flipped normals and texture flickering on Motorola and Samsung Android phones

What is happening to the textures when playing on the Motorola Android phone? Deleting and creating new materials doesn't work, the problem persists even with new materials, material overlay or ...
Atsinganoi Dragon's user avatar
0 votes
0 answers
47 views

How to implement a server on Android during play

I'm developing a chess game for mobile. In Godot, you can set up a UDP connection with PacketPeerUdp. My problem is establishing a process that acts as a server and runs the already compiled (armv8) ...
NitaStack's user avatar
1 vote
1 answer
135 views

Texture loading issue with open gl es on android with multiple SurfaceViews

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
173 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
69 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
71 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
69 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
166 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
89 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
144 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
247 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
1k 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
82 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
172 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
53 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,628
1 vote
1 answer
95 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
2 votes
0 answers
886 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
52 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
156 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
171 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
195 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
61 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
32 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
1 vote
0 answers
100 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
1k 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
1 vote
1 answer
192 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
773 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
1k 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
150 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
3k 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
164 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
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
1k 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
2k 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
  • 465
0 votes
0 answers
971 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
283 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
480 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
119 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
40 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
142 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
167 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
2 3 4 5
46