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

When Google Play In-App Review API will be supported?

$
0
0
Since Google published built-in review API Unity Engine probably will add it to UnityEngine Android package as well? That's almost identical to iOS review API one.

Any idea when that will happen?

Unity doesn't support Samsung Galaxy s8 audio

$
0
0
So apparently this is a common problem that many Unity users are not aware of.
When playing music in the app, there are crackling popping sounds on Galaxy s8 devices.
This happens ever since the last Android update to Pie (9.0).
A temporary fix is to turn the Wi-Fi off and the problem resolved.

Some famous apps for example- SoundCloud, Plex, and more , had the exact same problem with their apps, making many users complain about the static sounds on Galaxy s8 devices.
In the end,...

Unity doesn't support Samsung Galaxy s8 audio

Build failure

Android SDK 29 “unable to install additional SDK platform” issue & workaround

Android API level 29

Build - Required API Level

$
0
0
Hello,

Since Google has changed its API guidelines, I wanted to export my app with a higher API.
So first I downloaded the different version with the SDK Manager in Android Studio.Then I updated the SDK Manager with sdkmanager --update.
Here is an excerpt of the latest versions (sdkmanager --list).

I restarted everything, but I keep getting the following error:
...

Build - Required API Level

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

Get Android NDK crash reports

$
0
0
Hi everyone!
Have any one completed tutorial for unity users
How to upload sympols into crashalytics?

Reading this tutor, but it more for android java projects.

Which gradle template i need to modify?
What is a BUILD_VARIANT in unity project?
What another magic manipulations i must to do?

set mainTemplate.gradle
Code (CSharp):
  1. // GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
  2.  
  3. apply...
Get Android NDK crash reports

Gradle Build Failed - versionCode Issue?

$
0
0
I updated Unity and am now receiving this error when I build to Android. I tried going back to the previous version, but I now receive the error there as well. I'm attempting to build version 2, so I don't really understand why the error is saying "android.defaultConfig.versionCode is set to 0, but it should be a positive integer." I've been trying to troubleshoot this for a few days with no luck, any help would be much appreciated...


Build Specs:
Unity Version: 2019.1.8f1
Min Api:...

Gradle Build Failed - versionCode Issue?

SSL, TLS on Android

How to get Android 10 (API Level 29)

$
0
0
I have just downloaded new Unity version 2019.3.15f1 patch release from the website. Perform complete setup for Android build export but with my surprise I can only able to get API Level 28 maximum within the list.

View attachment 693533

But Android new guideline suggest to use API Level 29 for all future game release as target API level.
https://support.google.com/googleplay/android-developer/answer/113469#targetsdk

I have used Unity HUB to download Android SDK and...

How to get Android 10 (API Level 29)

Android: can't set minimum API level

$
0
0
Hi All

For some reason I can't set API levels inside Unity settings (both Minimum and Taget):
View attachment 382705
(Build setting -> Player settings... -> Other settings)

No onptions are available when clicking on both dropdown items.

I am using Unity 2019:
View attachment 382708

Also I've tried to use custom location for Android SDK (installed with Andoid Studio):
View attachment 382702

View attachment 382711

Can someone please help me to resolve the issue?...

Android: can't set minimum API level

Unity 2018.4.26 AssetBundle in StreamingAssets async texture load: failed from archive:CAB-XXYYZZ

$
0
0
Running into the following issue:
Unity : async texture load: failed to load Some_Sprite_Name from archive:/CAB-7f61681ed80b97a74f9dcd8d5d2bb6bb/CAB-7f61681ed80b97a74f9dcd8d5d2bb6bb.resS

Setup is as follows:
  • Unity 2018.4.26f1
  • Project is built for ABB using Gradle
  • AssetBundles are built uncompressed
  • This particular asset bundle is placed in /StreamingAssets/AssetBundles/arenas/

At runtime:
  • We call AssetBundle.LoadFromFile(bundleFileName);
  • Then...

Unity 2018.4.26 AssetBundle in StreamingAssets async texture load: failed from archive:CAB-XXYYZZ

pink screen android 8.1

$
0
0
hello
it appear that i have problem when run the game in android 8.1
everything become pink , I don't have this problem in any other devices
I try to add api26+27 and this doesn't work

Exception: Il2cpp.exe Did Not Run Properly!

$
0
0
Hi!

I'm just upgraded to Unity 2018.3.12f1 and tried to build my project using IL2CPP. I pressed the Build button on Build Settings Window. After everything is over, there was "Build completed with a result of 'Succeeded' " message in the console window with two error messages. And then, my project folder's location was open instead of give me my APK file. Then, i opened the project folder and there was not any APK file in it again.

I can't fix. Can you help me?

Error1: Exception:...

Exception: Il2cpp.exe Did Not Run Properly!

Failed to read Firebase options from the app's resources.

$
0
0
Hi all,

I'm working on unity project that will post SCORE data to Firebase realtime database (https://assetstore.unity.com/packages/tools/network/cross-platform-leaderboard-151816), and it works when I test on UnityEditor, but not on real mobile android device. :(

Here is the logcat:

02-23 11:34:41.889 13194-13271/com.devzuky.dumpy E/Unity: Failed to read Firebase options from the app's resources. Either make sure google-services.json is included in your build or specify...

Failed to read Firebase options from the app's resources.

Android Games Save/Load (unity)

$
0
0
my saving system is work in unity,but it is not work in android device.I don't know why isn't work and how can I have a saving system in android device.I guess is the path problem.My path is Application.persistentDataPath + " /Score.data"; Is android device would have another specific path or something wrong of my code.

There is my code of saving system
Code (CSharp):
  1. using UnityEngine;
  2. using System.IO;
  3. using System.Runtime.Serialization.Formatters.Binary;
  4.  
  5. public static class savesystem
  6. {...
Android Games Save/Load (unity)

Android 9 build URP vs Default Renderer Issues

$
0
0
Hello,
I have some issues building a 2D game app for android 9.

I have a smartphone samsung galaxy a40 with android 10 and a duoduogo S6 tablet with android 9.

I have the Android 9 SDK, NDK in unity external tools.

I had several problems to get the app running on my tablet (i got parsing the package error and the device hardware does not support the application error.
I was able to fix the parsing error by rebooting the pc, restart unity and build another apk.

The app was installed on...

Android 9 build URP vs Default Renderer Issues

Screen.safeArea rect not valid in Awake

$
0
0
I am using Screen.safeArea in Awake() to determine the available resolution on the device, but recently it stopped working. Instead of returning a valid rect, the rect's width and height are NaN.

Some information:
  • The application has been in use in my company for years.
  • I added Screen.safeArea last November.
  • The application worked fine this February
  • I have a build from late last November, after I added Screen.safeArea, that still works, but the next one, from early...

Screen.safeArea rect not valid in Awake

no udp sdk initialization detected

$
0
0
Hi
ive been trying to use UDP and ive taken care of everything but this last part seems to be unfixable.
i run my apk on a phone but steal says no udp sdk initialization detected.
My game doesnt have any IAP. its free
Viewing all 21933 articles
Browse latest View live


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