Quantcast
Channel: Android
Viewing all 21933 articles
Browse latest View live

.aab and multiple texture compressions

$
0
0
Is there a way to support multiple texture compressions with Android App Bundles? (say, ETC and ASTC).

I think the answer is no, but I'm posting here in the hopes that I'm wrong.

il2cpp build failing with Win32Exception - help appreciated!

$
0
0
Hey there.
I am trying to update an old app to comply with Google's new 64-bit regulations.
I upgraded the project from Unity 5 to v2017.4.40f1 so I could build 64-bit withough having to rework too much stuff.
However, I can't seem to get it to build - no matter what I try, I get the same error...
il2cpp build failing with Win32Exception - help appreciated!

IL2CPP Android crash at runtime in the first script

$
0
0
Hello,
I create an Android Game which will be upload on playstore but playstore need ARM64 version then I need to compile the game with IL2CPP.
The problem is that Mono work but not IL2CPP.
The compilation work well but at runtime on my mobile (Xiaomi redmi note 8 pro) I get this error wich loop infinitely:

08-29 14:12:13.164 23957 23999 E Unity : at BalekLogo.Update () [0x00000] in <00000000000000000000000000000000>:0
08-29 14:12:13.164 23957 23999 E Unity :
08-29 14:12:13.164 23957...

IL2CPP Android crash at runtime in the first script

No udp sdk or xiaomi sdk detected in the apk

$
0
0
So I tried using the new UDP system today and I keep getting: "no udp sdk or xiaomi sdk detected in the apk"
even though I have the services enabled and I even enabled the xiaomi game center. I can't understand much more from the documentation :/

Android build stutters when loading, requires multiple exits to start properly

$
0
0
Hi, I'm having an issue with my game when building for Android.

When launching the app, the Unity splash screen sometimes shows up, but sometimes does not. After this, the screen remains black. To continue into the game, I have to go to the home screen and re-open the app several times. (note, the app is not closed from the app switcher.) Only then will the game load properly.

This happens both with Mono builds directly onto my phone, and IL2CPP app bundle builds from the Play Store.

I'm...

Android build stutters when loading, requires multiple exits to start properly

Android Build - aab file only, where is my apk?

$
0
0
Hi, I have a question about builds for Android.
Sorry for the stupid questions, but I've never exceeded 100 Mb and I've never used bundles.

Now my game exceeds 100Mb and when I create my build, (with "Build App Bundle" select) only the .aab file is generated, but not the .apk file.
It's normal?




Isn't the APK necessary too, for Google Store? Is the .abb file sufficient? One file?...

Android Build - aab file only, where is my apk?

Google Play keeps detecting collection of personal and sensitive information, rejecting my app

$
0
0
Hey everyone,

Every time I submit an update to my Android app to Google Play, I get the following email:

View attachment 616000

As a premium game, and without the need for analytics, I've tried to remove any traces of data collection in my game, but I just keep getting this email after every resubmit. I have...
- removed all Unity services (Analytics, Cloud Diagnostics, etc).
- removed the built-in analytics module package and all packages except Unity UI, 2D Sprites, and the VSCode...

Google Play keeps detecting collection of personal and sensitive information, rejecting my app

Task Exception Error on Android & iOS with IL2CPP

$
0
0
Hey,
so first of all, I started experiencing my problem with my project running on Unity version 2019.2.8f. I then upgraded to 2019.4.7 and 2019.4.8, where the problem is the same.

I was working on a mobile game that implements C# bitcoin plugins (NBitCoin & QBitNinjaClient). They work very fine on Android with Mono as the scripting backend. But once I build the app with IL2CPP (because I want to publish it and it is required for both google play store and apple app store), one part of the...

Task Exception Error on Android & iOS with IL2CPP

You don't have Android SDK Setup! Facebbok SDK

$
0
0
Hello guys, I'm using the Facebook SDK in my project and I see this error:
You don't have Android SDK Setup! Go to Edit -> Preferences ...

I'm using Unity 2019.3.2 and it came with the Android SDK. I don't know why I'm having this error.
Also, I can't get Debug android key hash.
Any solution for that?
Thanks in advance.

unity a failure occured while executing com.android.build.gradle.internal.tasks Workers$Action Faca

Execution failed for task ':launcher:checkReleaseDuplicateClasses'. caused by Facebook Unity SDK

$
0
0
Facebook SDK Version : 7.21.2
Editor : Unity 2019.4.9f1

I get the following error when trying to build to Android with the Unity Facebook SDK.

Code (CSharp):
  1. Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
When I remove the Facebook SDK, my build works.
Any idea on how to get the Facebook SDK building with my Android project?

I've tried increasing the JVM heap size in Preferences -> External Tools...

Execution failed for task ':launcher:checkReleaseDuplicateClasses'. caused by Facebook Unity SDK

Successful Unity aab build not compliant with the Google Play 64-bit requirement.

$
0
0
Hi,

I'm switching from APK to AAB.

With a successful Unity aab build, following these guidelines:
https://forum.unity.com/threads/googleplay-64bit-console-warning.672988/
https://developer.android.com/distribute/best-practices/develop/64-bit

I’m still getting the following error in the google Play Console:

“This release is not compliant with the Google Play 64-bit requirement. The following APKs or App Bundles are available to 64-bit devices, but they only have...

Successful Unity aab build not compliant with the Google Play 64-bit requirement.

Error GLSL link error: The number of vertex shader storage blocks

$
0
0
GLSL link error: The number of vertex shader storage blocks (1) is greater than the maximum number allowed (0). The number of fragment shader storage blocks (1) is greater than the maximum number allowed (0).

Hi, i think this error is related about to use post-processing in Android devices.
Someone crashed for using eye adaptation- others for using bloom effect..
So, is there anyway to safe use with post-processing efects? also, this devices are crashing before to load the game or any...

Error GLSL link error: The number of vertex shader storage blocks

Android Build -> Multiple Dex Files Error -> Multiple dex files define Lcom/google/unity/BuildConfig

$
0
0
Hi!

I'm struggling to create a Unity build for Android (I'm new to Android as a platform). I get this error:

```
Execution failed for task ':transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/unity/BuildConfig;
```

I cannot find the source of this problem and I've read through a multitude of...

Android Build -> Multiple Dex Files Error -> Multiple dex files define Lcom/google/unity/BuildConfig

Building Android Apk for different Api levels

$
0
0
Hello,

I am making an android game, I want the game to be compatible from android 8 to the latest version.
In Player settings on the minimum API level i selected android 8.

I tested the build on my phone ( Samsung Galaxy A40 with android 10) and the game works.

When i test it on my tablet with android 8 there is a black screen and only the UI buttons are visible.

What can i do to make it works in both devices?

Thanks

Unable to start activity

$
0
0
Hello,

When I try to run my Eclipse project on Android device I get the following error. Please, could you help me?


07-10 16:02:39.956: E/AndroidRuntime(411): FATAL EXCEPTION: main
07-10 16:02:39.956: E/AndroidRuntime(411): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fbfsistemas.pullsticks/com.unity3d.player.UnityPlayerProxyActivity}: android.content.ActivityNotFoundException: Unable to find explicit activity class...

Unable to start activity

Updated version of Unity OBB Downloader?

Android SDK is outdated

$
0
0
I am using Unity version 2019.3.15f1 on macOS Catalina 10.15.5.

When I build and run for Android I receive following error message:

Android SDK is outdated
SDK Tools version 0.0 < 26.1.1.

View attachment 634130

When I than hit the Use Highest Installed button it will build without problems to my device.

When I hit the Update Android SDK button I receive this message:

Android SDK is outdated
SDK Tools version 0.0 < 26.1.1.
Make sure Android SDK path is writable by the Editor....

Android SDK is outdated

Gradle build failed

$
0
0
stderr[
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'gradleOut'.
> Failed to find Build Tools revision 29.0.0

I have no idea why Unity would choose revision 29.0.0 as Build Tools revision.
I have 28.0.3 installed and worked fine for a long time. How to change this revision?

Legacy Support v4 aar not included in apk Failed resolution of: Landroidx/core/content/ContextCompat

$
0
0
Hi,

I'm integrating Firebase into a plugin and am getting the following error (and a couple of others with unresolved elements like ArrayMap from androidx collections:

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.testapp.test, PID: 11661
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/core/content/ContextCompat;
at com.google.firebase.FirebaseApp.initializeAllApis(com.google.firebase:firebase-common@@17.0.0:637)
at...


Legacy Support v4 aar not included in apk Failed resolution of: Landroidx/core/content/ContextCompat
Viewing all 21933 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>