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

Build Error IL2CPP please help

$
0
0
i build with il2cpp failed, but i will build with mono success why..?


this error

Failed running C:\Program Files\Unity\Hub\Editor\2019.3.11f1\Editor\Data\il2cpp\build/deploy/net471/UnityLinker.exe -out="E:/Sourch code/XKnots/New Unity Project/Temp/StagingArea/assets/bin/Data/Managed/tempStrip" -x="E:/Sourch code/XKnots/New Unity Project/Temp/StagingArea/assets/bin/Data/Managed/../platform_native_link.xml" -x="E:/Sourch code/XKnots/New Unity...


Build Error IL2CPP please help

Calibrating accelerometer for different devices

$
0
0
I made a android game in unity which uses accelerometer as input to move the car left and right. Now I calibrated the accelerometer to work seamlessly with my Samsung Galaxy S7 but the problem arise when the game is played on different device. On larger devices the movement feels rigid and if calibrate it for larger phones then its too sensitive for smaller phones.

Is there a way to detect the android device make and model to at the start of the game to select the right calibration?

Not able to Submit game through Unity Distribution Portal

$
0
0
Hey,

We trying to use UDP for one our Android game and when we try to submit the game through UDP console it says "No UDP SDK initialization detected"

We have installed the UDP package through package manager.

Most of the articles which we came across regarding UDP integration show creating IAP and then initializing it.

Our game does not have any IAP so not sure whether UDP has such requirements.

So do we have to integrate IAP package and if so then what we should enter in...

Not able to Submit game through Unity Distribution Portal

Android app crashing on Android 10 working fine with other versions.

$
0
0
Hello Geeks,

I have a weird issue, my app keeps on crashing on startup ( after the splash screen) on Android 10 only working fine with other versions though. I have made builds using API lvl 29 and 30 but facing the same issue with both builds.

Anyone have any idea why is this happening?

I tried cleaning up the cache memory and restarting the device but not helpful.

In App Review(Review App with leaving application)

Android Project Testing on Emulators (Not Gameplay)

$
0
0
Hi Guys. Apologies if this specific question has been asked and answered but I have searched and don't find one that deals directly with my problem.

I recently completed a project in Android Studio and this app is currently on the play store so as a result, I have various AVDs setup that was used for testing the app. these are all x86. I thought I would be able to use these for testing the Unity Android project as well but it doesn't work. (Yeah, I'm a beginner). I thought I would try arm...

Android Project Testing on Emulators (Not Gameplay)

Android 9 : Cleartext HTTP traffic to [MY_IP] not permitted

$
0
0
Hi,
I start to receive a lots of message from Android P user.
Error log on Android 9 only : "Cleartext HTTP traffic to 45.xx.xxx.xx not permitted"
This error happens during WWW request.

I tried to edit my androidmanifest :
Code (CSharp):
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest ...>
  3.     <uses-permission android:name="android.permission.INTERNET" />
  4.     <application
  5.         ...
  6.         android:usesCleartextTraffic="true"
  7.         ...>
  8.         ...
  9.     </application>...
Android 9 : Cleartext HTTP traffic to [MY_IP] not permitted

[SOLVED] Android .aab command line build exporting as directory

$
0
0
I'm attempting to build my android player with a command line build to export an Android .aab file, but it always exports a gradle project so the output is a directory of files and not an .aab file. It appears to be skipping steps that the builder from within Unity takes.

My build script sets the following properties before doing the build:

Code (CSharp):
  1. EditorUserBuildSettings.buildAppBundle = true;
  2. EditorUserBuildSettings.androidBuildSystem = AndroidBuildSystem.Gradle;...
[SOLVED] Android .aab command line build exporting as directory

AndroidJavaException: java.lang.ClassNotFoundException (Another One)

$
0
0
Sorry if this has been answered before, but I couldn't find anything that helped me.

I'm trying to create a unity project to Interact with an Epson Movario headset but I'm having some trouble accessing its java SDK within unity as I need more hardware access than the movario unity plugin will give me.

Ok, here's my logcat file. (trimmed, of course)
I/Unity   ( 7171): Step 01
I/Unity ( 7171):
I/Unity ( 7171): (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp...


AndroidJavaException: java.lang.ClassNotFoundException (Another One)

Android App Signing by Google

Game working in editor and with Unity Remote 5, but not after compiling on Xiaomi

$
0
0
Hi,
I post this here because i saw that the Xiaomi forum is a little abandoned.
I made a game for Android and after compiling, it works on all mobiles except on xiaomi. I saw that the problems is related with that i have two cameras on my game, one for the scene and other for UI.
My first thought was that it was a problem with cameras, so i checked how the are configured and its all nice setup. Then i tried to disable the UI camera and voila, now i can see the scene.
The game works in the...

Game working in editor and with Unity Remote 5, but not after compiling on Xiaomi

Unity Update killed game for android

$
0
0
Hi,

I'm not sure if this is the right place to post this, but I have a small published game that I was working on in 2019.3.15f, and everything worked fine. Earlier today, I updated to 2020.1.2f. Also updated IAP, and Unity ads. Got everything working fine in the editor, and thought I was good. Did a Build and Run to an android tablet, and it crashes immediately (ie before the splash screen). I've tried pulling out Unity Ads, the IAP, and no change. It looks like at this point in...

Unity Update killed game for android

Error when building for android.

$
0
0
Hello, so I get these errors every time I try to build my app for android.
Publishing settings are all set up. I installed NDK because when I tried to publish my test game to google play it said that its not 64 architecture. Now I cant even get it to build!
I tried different variations in player settings but no hope. The version of unity is 2019.4.9f1....Should I change it? It says plugins are colliding with each other :/

Random crashes on CullCastersCommon and CullPointShadows (Android)

$
0
0
We are getting quite many crashes on Android. Occurs with various android versions and GPUs. We have seen this with different 2019.4.x versions. Unfortunately we haven't been able to reproduce it. Call stacks are below. If anybody has any tips how to solve this would be great!!!


0 libunity.so 0x00000000c8dbb048 CullCastersCommon(ShadowCullContext const&, SceneNode const&, AABB const&)
1 libunity.so 0x00000000c8dbaf35...


Random crashes on CullCastersCommon and CullPointShadows (Android)

Deprecation of Android x86 target in Unity 2019.3

$
0
0
With the release of 2019.3 the Android x86 target for Unity Android projects will be deprecated. Source: https://blogs.unity3d.com/2019/03/0...bit-and-app-bundles-backported-to-2017-4-lts/

While I understand not many Android phones are actually using this arch, it is however very frequently used for development. The x86 Android emulators are much faster than the Arm counterpart. How do you guys expect to handle this issue? As for myself I have been...

Deprecation of Android x86 target in Unity 2019.3

Google Play API warnings started today

$
0
0
I started getting Google API greylisting warnings today, specifically:

Code (csharp):
  1. Android compatibility
  2.  
  3. We’ve detected that your app is using unsupported APIs. Tests may not have found all unsupported APIs. Learn more
  4.  
  5. Unsupported
  6.  2 warnings identified
  7.  
  8. The following APIs are greylisted and Google can’t guarantee that they will work on existing versions of Android. Some may be already be restricted for your target SDK
  9.  
  10. API Landroid/media/AudioSystem;->getPrimaryOutputFrameCount()I
  11. 1 occurrence...
Google Play API warnings started today

Android App Bundle, how to upload game larger than 100 mb ?

$
0
0
I just tested uploading my game, ~350mb, using android app bundle, according to the documentation, https://developer.android.com/guide/app-bundle/,

"Publishing with Android App Bundles also increases the app size limit to 500MB without having to use APK expansion files."

However when I upload the 350mb aab file to the store this is what happens :



Any ideas ?

FileNotFoundException while building apk

$
0
0
I have an error while building android apk.


FileNotFoundException: Temp\gradleOut\build\outputs\apk\release\gradleOut-release.apk does not exist
System.IO.File.Move (System.String sourceFileName, System.String destFileName) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/File.cs:318)
UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)...


FileNotFoundException while building apk

Android Render Outside Safe Area Option In Script?

$
0
0
Is there any way to toggle android's 'render outside safe area' option from script? I'd like to make it a menu option incase new devices with unanticipated screen cutouts are released that break my UI so users can switch it on/off to their liking.

Build - IL2CPP errors - Please, how fix it?

$
0
0
Hello, I have problem with build my Android game. Whne i want use IL2CPP, i cant build my game. In console is this errors:

Exception: C:\Program Files\Unity\Editor\Data\il2cpp/build/il2cpp.exe did not run properly!
UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at...

Build - IL2CPP errors - Please, how fix it?
Viewing all 21933 articles
Browse latest View live


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