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
7 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
24 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
1answer
94 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
24 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. ...
1
vote
0answers
80 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
23 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
30 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
19 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
15 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
26 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
42 views

How to build multiplayer games for android?

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
16 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
21 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
20 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
45 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
22 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
87 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
11 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
26 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
25 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 ...
0
votes
0answers
41 views

Can I use real currency name/symbol as an in-game currency?

Can I use a real currency name (i.e USD, PKR) or symbol ($, Rs.) for my in-game currency with the same exchange value as original currency? I couldn't find anything about it in google play store ...
0
votes
0answers
27 views

Shift game view when on-screen keyboard is displayed

I want to take input in a TextField but the keyboard hides the view, so I want to scroll it by adding padding to it since table ...
0
votes
1answer
52 views

Persisting unlocked characters in Player Prefs

I am working on a character selection menu in Unity. If you have enough coins, you can buy your desired character. Once player buys one, that character must not be locked on game restart, the number ...
-1
votes
2answers
42 views

Google Play Console error problem [duplicate]

I am trying to upload my game (finally) to the google play store but I am faced with one final problem that I have attempted to fix but have of course failed! The error message that pops up is as ...
0
votes
0answers
56 views

Android Build Errors?

Hi I am trying to build my android game and hopefully publish it but I am trying to build it and this error keeps coming up. Can someone please help explain what this is trying to tell me and how to ...
0
votes
1answer
18 views

how to increase the volume by trigger

I need to know how to do this in a 2d game when my 2d character approaches a sounding spirit. the sound should increase as you approach it and decrease as you move away from it. for example, it is a ...
0
votes
0answers
19 views

empty screen in my game

Below are 5 activities that form my simple app; I still can't figure out why it doesn't show anything(only a black empty screen): I have another question: Is there any issue with using time in ...
0
votes
1answer
28 views

Box2d: crash on createBody in beginContact callback

I am getting this error on creating body in contactListener ...
0
votes
1answer
15 views

Start Position & Move Step Problem Swipe Motion Mobile Unity C#

i am currently trying left & right, up & down swipe motion in unity C#. I have done the scripting, it all working, but after i debug the script, the object's position suddenly changed to a ...
1
vote
0answers
104 views

Handling zooming in for a spot-the-difference game in different screen resolutions

I am creating a 2D game for Android as a school project. The objective of the game is to find differences between the top image and the bottom image. I have 1 main camera, which views the entire ...
0
votes
0answers
23 views

Unable to retrieve the user's country code

After I run my application in Android Studio, with no errors, I get this message in the Logcat: "020-04-13 17:01:16.568 13876-13876/? E/TachyonContactsCache: [19331:158] [13876] TachyonContactsCache: ...
0
votes
0answers
28 views

best method to draw in android studio games

After several tries to draw my player, enemy object in my game, I often face a problem rendering either because the method cannot be resolved or because I have a player and enemy classes both extend ...
0
votes
0answers
13 views

moving player according to swipes

In my Player.java class, I want to incorporate a function that moves my player according to the left or right swipes. I also used time in seconds in order to vary the movement in an cyclic way: <...
0
votes
0answers
8 views

Problem of activities [duplicate]

My game consists of a player that hopes between ropes. For now, I created the player and the rope classes. Each one contains details about the object and its movement patterns. What is the next step ...
0
votes
1answer
24 views

Positioning ropes equidistantly on a landscape display

I would like to render 4 similar ropes in my game that are equidistant on a landscape mode display. How can I proceed? My screen is 1920*1080, at 420 dpi. Is there any way that I could link the ...
2
votes
1answer
47 views

Connecting Player and Rope classes in a rope-swinging game

I am trying to build this game where the player hops between a number of ropes. For now, in addition to my main activity that I kept empty, I built two additional classes: ...
1
vote
0answers
23 views

How to set orthographic camera for libgdx

I have implemented a basic demo of camera but it is not showing any sprites on screen. I cannot figure out what's wrong with my code. ...
0
votes
0answers
29 views

Unity Android App Minimize

I have a basic Android App that I create in Unity with C#. At the moment I use Application.Quit() to end the app, but I want to just minimize the app and keep it "...
0
votes
0answers
12 views

Unity game is working well in editor aftter build ui is not working in Android

Game is working fine in unity editor and working well with unity remote also.....but as i build and run the game..the game score menu is not visible...can anyone have idea how to fix it ]2
0
votes
0answers
27 views

Trying to build in android problem in unity

Hi I am planning on uploading my game to the play store but I keep getting this message when trying to build. What can I do to resolve this hurdle??? The build settings are as follows:
0
votes
1answer
32 views

Game build crashes on scene load

I built out my project to Android to do some testing and stuff, but I can't get any further than the main menu scene. I built it out previously and it was running fine. Now as I try loading level0 it ...
0
votes
0answers
12 views

How to create brush that paints or erases in Unity(Mobile)?

Kind of a simple question but I have no idea where to start. Basically I just want to use my finger to drag along an image and either paint on it or erase the image texture entirely (presumable using ...
0
votes
1answer
56 views

In Android, neat way to send input info from `GLSurfaceView` to `onDrawFrame` in `GLSurfaceView.Renderer`?

The input is pinch/drag for camera movement, which modifies a matrix to scale/translate, and sent to a vertex shader. It's working, but ugly. What's the proper way to do it? I've noticed: ...
0
votes
1answer
29 views

Libgdx, button onclick event crashes

I'm trying to create an android game using libgdx with a Titlescreen, you just press start and your game startes. However I'm having difficulty trying to get these buttons to work. The titlescreen ...
0
votes
1answer
28 views

Unity: Game objects in scene load incrementally and not at the same time

I am using Unity in my Android app. When the app opens, I show the user data in the Unity scene. User data contains texts and images. In order to load this data in the scene, I make a lot of ...
1
vote
0answers
47 views

What happens to deleted or added assets in your app when updating to a new version in the Google Play Store and iOS App Store?

So let's say I used Unity and built an app and uploaded it to the android and iOS app store, it is 100 MB and lots of people downloaded it. So now I want to update it to the newer version, however ...
2
votes
2answers
176 views

Application.OpenURL in Unity works in inspector (PC) but not in Android

I'm using unity and I've got some simple code that should work but doesn't for some reason and I'm stuck. Basically I am just trying to open up a website through a button click "On Click ()" in an ...

1
2 3 4 5
44