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
0answers
14 views

Android - Canvas.drawBitmap gives an awful performance

I am using SurfaceView for my game and I am loading all of the bitmaps that are the right size for the screen (pre-scaled in mipmap folder) into a class when the game starts. And I am drawing the ...
0
votes
2answers
177 views

Can I mod Among Us mobile so people don't get kicked because of network problems, and how? [closed]

I want to make a mod for Among Us which will allow people to stay in game despite short-lived connection problems (as opposed to being kicked after 1 second of network issues).
0
votes
0answers
24 views

unknown unity crash for android il2cpp project

i just made my final output with unity but on some devices it crashes after seconds. when i log it it is all i can see: ...
0
votes
0answers
20 views

Bloom not working on mobile build (URP)

I am trying to add bloom in my unity game for mobile phones using URP, The problem is, everything works perfectly in the editor/pc, But the bloom effect vanishes on the actual apk build. This is how ...
-1
votes
0answers
38 views

How To Make Your Android Device Realise That Your App Is A Game

So I have created a simple 3D game, where on my computer, in the unity editor, it works perfectly when I run it. But when I exported it to my Android Device, it was very laggy and the FPS where very ...
2
votes
0answers
16 views

Building multiple android apps via script does not trigger Resolving Android Dependencies

I have a Unity Project which builds a number of smartphone android apps Anytime I need to build an app I have a script (SetupApp) that move a bunch of assets in the Resources folder and changes the ...
0
votes
0answers
25 views

Persisting save data on uninstall without sign in

I am looking for ways to keep a unique link between a user's device and their account without requiring users to sign into an account. The kind of system I am looking for is one like the game AFK ...
0
votes
1answer
18 views

How Do I Separate Dragging My Finger On Joystick And Swiping?

I am currently making a 2D top-down view shooter game for Android, where the game is played horizontally. On the left side of the screen, you can touch anywhere to spawn in a joystick and aim by ...
0
votes
1answer
20 views

Unity facebook sdk 'Didn't find class “com.facebook.FacebookContentProvider”' any more fixes / workarounds for this?

How to replicate this error... Create a new Unity project. Import the facebook sdk unitypackage Set your App Id for facebook via Facebook\Edit Settings Using Assets\External dependency manager\...
0
votes
0answers
18 views

why adding armv8-x64 support libraries to the project causes bad behaviour for unity project?

as you may know for new releases google makes developers to support both 32x and 64x architectures. if you dont, you get this message: as help page suggests, you have to go to the build settings and ...
0
votes
0answers
10 views

concerns about android apk compatibility

Hi everyone =) i'm planning on making a game on Unity, the idea is that my friends could play the game, as mostly of them do not own a computer, it should be developed for android. Two of my biggest ...
0
votes
0answers
22 views

NDK opengl-es unknown error

Projection matrix? Renderer? Where is the error? I recently started studying NDK to create better performing android games ... but ... An error I didn't expect to deal with appeared a few weeks ago ...
0
votes
1answer
25 views

Android Game - Screen Flickers When an Entity Removed From The List

I am using Canvas in my android game. When I remove a no longer displayed entity in my entity list, all other entities are flickering for a brief time. When it's not removed, there is no such problem. ...
0
votes
0answers
22 views

Libgdx game lags on better phones

I'm developing a candy crush game and it works just fine on desktop, my mobile (Honor9) and the one I'm using as emulator. But, for my surprise, it lags on my girlfriend's mobile, which is way better ...
0
votes
0answers
14 views

How to add sprite batch on tile in isometric map in Libgdx

I'm using Libgdx to create an isometric game , but now I have problem. I want to add sprite on tile (3,4) , but I can't do this, so I searched on stackoverflow , and I found this code :- ...
0
votes
1answer
22 views

Android Build Failing Game Maker Studio 1.4

In Game Maker Studio 1.4 I'm trying to export my game to Android API 29. Whenever I start to compile, the build fails because the API 28 support library is too low for the Target API 29. I have the ...
0
votes
1answer
23 views

Score won't save to Android in Game Maker Studio 1.4

I have oController as the first object to run when the game is opened. In oController's Game Start event I have the following code: ...
1
vote
0answers
24 views

How to build bullet (hit) damage detection in Augmented Reality to a real life person acting as an opponent?

I am building an Android AR game using ARcore 1.18 in Unity 2019.4.5f1 (LTS). Now I want to create something like bullet damage detection just like it is built in a normal Unity 3D game. Of course, ...
0
votes
0answers
295 views

How can I use Body tracking in Android using ARCore or some other libraries?

I know that ARCore on Android doesn't support Body Tracking like ARKit does. But is there some alternative or workaround to ...
0
votes
0answers
24 views

Unity : apk vs aab for the same scene

I'm new to Unity , i use mac os catalina , unity 2019.4 and build for android/mobile. I downloaded a unity project from internet. It's already in format of unity project. so i just copy it into my ...
-3
votes
1answer
47 views

Can I bring features of an Android game into another Android game?

Platform : Android Overview : Fifa 14 by EA sports has a manager mode, kick off and tournament mode in it, which was the last game of its series on android to have these features. Fifa 16 has great ...
0
votes
1answer
28 views

Unity augmented reality app doesn't work on android

I am pretty new to unity and augmented reality applications. I use unity 2019.4.4f1 and my project is very simple as you can see in the screenshot below: I am using Wikitude plugin for image tracking ...
0
votes
1answer
17 views

Tilemaps not showing up on Android build

I'm having trouble developing a 2d game for Android. I use tilesmaps for the ground and a few other things. On the editor, everything works fine and dandy. But, when I deploy to a phone(Build and Run),...
0
votes
0answers
17 views

Unity 2018 can't find android sdk path on mac osx

I use osx catalina 10.15.5 and run couple version of unity 2019 without problem. but when i download unity 2018 (2018.4.24f1), it couldn't find android sdk. the default location for the sdk is : /...
1
vote
3answers
264 views

Set up Android SDK path to make Android remote work on Ubuntu

I used Unity 2019.4 on Ubuntu 20.04. I installed Android SDK and all other components through Unity Hub. But unfortunately, I can't use Unity remote. It's written : Set up Android SDK path to make ...
0
votes
0answers
33 views

Integrating accelerometer data samples to get velocity and displacement

I am working on an android app built in Unity that would allow the users to track their movements by just using the data coming from the device sensors. I have read about similar issues already and I ...
0
votes
0answers
32 views

Android developer/publisher royalty sharing

I am creating and Android game, and will need to partner with a publisher. I am curious about how this is typically implemented. Probably publishers are going to have a difficult time trusting some ...
0
votes
0answers
14 views

Unity 2109.3.4 apk fails to install on to quest

Hello's I was able to successfully sideload APK's on to the quest for a while now however when I updated to unity 2019.3.4 side quest is now unable to successfully load a built APK onto the oculus ...
-1
votes
1answer
40 views

How to make camera move with the player in 3D Libgdx

Iam trying to create a 3D game in Libgdx, so I created a 3d World with physics, and added just a small terrain and capulse (the Player) . I want to make the game first person, so I created a player ...
1
vote
2answers
411 views

How do I reduce the size of my symbols.zip?

I am making an Android app in Unity. Google recommends using a symbols.zip, which Unity auto-generates. However, the symbols.zip that Unity is generating for my app is over 1 GB, and the max size ...
1
vote
1answer
30 views

Libgdx opacity partial error

My model must support transfer textures but I can't do this using mesh + modelBuilder.part Opacity is tested correctly on only half of the model. ...
2
votes
0answers
149 views

How can I use an inherited Activity in C#?

I am using Unity. I want to set the status bar to be permanent in opaque black. I set Start in Full Screen Mode in the Player Settings to ...
1
vote
0answers
39 views

Vibration causing lag on OnePlus 6

has anyone experienced vibration causing lag on OnePlus 6 (or other device)? I'm developing a mobile game on unity and lately I have been Integrating Nice Vibrations to our game which is basically a ...
0
votes
1answer
51 views

Unity: BuildFailedException Reference Library Missing Texture at index 1

I'm new to Unity and I have no idea what this error means, I'm following a tutorial on YouTube which had no error of the sort. Any idea how can I fix this? ...
0
votes
0answers
26 views

How to add font assets to a Unity based Android app on runtime?

I am working on an android app that contains a Unity scene. The unity scene has some ...
0
votes
0answers
19 views

libgdx+android: White screen after re-create() but not resume()

I have this weird issue only on android where if I push the home button, when I get back into the game it passes through resume() and it display by background texture correctly. But if I push the back ...
0
votes
0answers
34 views

SetActive doesn't work for GameObject

I'm using Unity 2D for my game and I'm facing a weird problem. I have a GameObject (an image) in my scene with a button attached to it. When the player is out of the screen, the image that works as a ...
1
vote
0answers
292 views

How to build multiplayer games for android? [closed]

I'd like to know how to build android multiplayer games but I'm struggling to find a step-by-step or good resources on this topic. My main questions is which engine and api to use? I'd like to achieve ...
0
votes
1answer
17 views

Unity3d texture size different than original png image [duplicate]

While selecting a png image as a texture for a material in Unity, it shows different size (bigger) than the actual file size, why is this so? how can I reduce its effective size to make it perform ...
0
votes
0answers
22 views

Unity Optimization: Creating Multiple Similar Scenes Effectively

I've been working on a mobile game that uses the same framework for each level in the game, and I was wondering what would be the most efficient way to store all those levels in Unity. Should I only ...
0
votes
0answers
14 views

Why doesn't the prefab change in the app?

Such a problem: from the script, I change the image of the sprite of SpriteRenderer component (like another skin) in a certain prefab, having a link to SpriteRenderer. And the problem is that when I ...
0
votes
0answers
8 views

Gradle build failed while building to android (unity log attached)

I know there are many questions regarding this problem but nothing helped I am getting this error evem in an empty project I think that something is wrong with the daemon here's the editor log: ...
0
votes
0answers
26 views

using Playerprefs on Android Mobile Platform

I have a question about playerprefs on my android mobile game not initializing properly. I have already pre-set my playerprefs data on a variable with a value of 3. In my play mode on unity the value ...
0
votes
1answer
46 views

Can't join to room through Unity's Matchmaking system on the Internet

It works perfectly when I try to connect locally from my editor to my running build. But after I start the server on my Android, and try to connect to it from my editor, it time outs: As you can see,...
1
vote
0answers
24 views

Play Protect Submission

I just filled submission form for google play protect for my new-developed game. the problem is with URL download link. I used file.io to generate a direct download link. it worked fine for the first ...
0
votes
0answers
10 views

High quality specular reflections on Android

I opened the Unreal Editor VR example, imported the TwinMotion materials and set the floor to a nice parquet. In the editor it looks like this: However when I run it on my Oculus Quest it looks like ...
1
vote
1answer
89 views

How do mobile games implement time gates unhackably? Is it possible in offline games?

I'm thinking about porting my game to Google Play, and it would be free to play with time gates which are skippable if you watch an ad. What are the ways of implementing an unhackable time gating? ...
0
votes
0answers
28 views

i get error “ ue4 android client target not found ” when packaging shipping client android

I cant package my game in APK with shipping client configuration in ue4 4.20. keep getting error stated above. here is log text Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=E:...
1
vote
0answers
47 views

How to implement GIF insertion in Unity? “XYZ App doesn't support image insertion here”

I'm making an Android App with Unity, which has a chat service in it. And I would like to handle sending images or GIFs via Gboard. Currently when the user selects a TextField, his keyboard comes up,...
1
vote
0answers
26 views

UI clicks hitting the GameObjects below

I've made a simple script which makes a mesh with a collider act like a button. However the mesh button get clicked through the UI. I figured out how to fix this in editor, however this problem still ...

1
2 3 4 5
44