Quantcast
Channel: Questions in topic: "android sdk"
Viewing all 455 articles
Browse latest View live

How to fix APk's not changing in Android studio?

$
0
0
Hello everyone, this is my first time asking a question so I may miss somethings that may need to be included. Pretty much I build my apk from unity. Then I go to android studio and run the apk, build it, run it on an emulated device. I have been doing this for a while now making changes and such. Now the changes I am making on the unity end do not reflect in the new apk's that I am building. I tried removing things, changing wording, changing sizes of things, but it is the same apk every time. I deleted every apk off my comp, cleared the cache on the android studio, cleared all builds from it, updated both android studio and unity to the latest versions as of 1/22/2021. I have zero errors on my console, I can build it in unity and everything works fine. Really do not know where to turn now. Any help is appreciated.

I cant build my game for Android.

$
0
0
CommandInvokationFailure: Gradle build failed. C:/Program Files/Unity/Hub/Editor/2019.4.17f1/Editor/Data/PlaybackEngines/AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2019.4.17f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease" stderr[ FAILURE: Build failed with an exception. * Where: Build file 'C:\Users\efe_e\oyunlarınsahı\Temp\gradleOut\launcher\build.gradle' line: 3 * What went wrong: A problem occurred evaluating project ':launcher'. > Failed to apply plugin [id 'com.android.application']> Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See http://b.android.com/95744 for details. This warning can be disabled by adding the line 'android.overridePathCheck=true' to gradle.properties file in the project directory. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUİLD FAILED in 4s Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 ] stdout[ Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details ] exit code: 1 UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0) UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0) UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0) UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at :0) UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at :0) Rethrow as GradleInvokationException: Gradle build failed UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at :0) UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0) Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown. UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) (at :0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0) UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at :0) UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at :0) UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <2f1c602eae0d45c293fff3e3aef759fa>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in <2f1c602eae0d45c293fff3e3aef759fa>:0 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <2f1c602eae0d45c293fff3e3aef759fa>:0 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) This is the console log.

Setting up android for unity.... I'M GOING CRAZY.

$
0
0
The amount of times I saw the You are missing the recommended jdk a,sdk,ndk is countless. the amount of times i went to a unity answers thread and got nothing helpful.... somebody help me ): I'm still a beginner in Unity and setting everything up for unity, oh I'm not good. please help me. it just says these everytime even though I have downloaded the android module. also the OpenJDK isn't there. If you want t![alt text][1]o help me, please explain literaly everything. sorry for my bad English. [1]: /storage/temp/175558-screenshot-128.png

Unity / Google Play Services SDK Android Setup- What to write in Android Resources / Resources Definitions

$
0
0
When you are setting up the Google Play Android SDK you have to specify **Resources Definition** and from the Google guide, you are forced to first set up Achievements / Leaderboards in your Google Play Console, in order to get your Android resources:> [This data is found in the Google Play> Developer Console by clicking "Get> resources" on any of the resource> pages (e.g. Achievements or> Leaderboards), then clicking> Android.][1] However, there are a lot of people who don't want to set this up and still have their Google Play SDK in Unity working. This you can achieve by posting the following in the **Resource Definition**, without having Leaderboards or Achievements created: [your app_id][package name] [1]: https://github.com/playgameservices/play-games-plugin-for-unity

Do i need a separate database when making a game in Unity3D With Android Games services, Apple Game Center and Facebook

$
0
0
I am creating a Mobile game in unity3D with Android Games services, Apple Game Center, and Facebook and I was wondering if I need a separate database to store different variables like boosters, currency, etc, or can I use these services to do this?

CommandInvokationFailure Unable to install APK to device.Please make sure the Android SDK is installed and is properly configured in the Editor.

$
0
0
CommandInvokationFailure: Unable to install APK to device.Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details. C:\Program Files\Unity\Hub\Editor\2020.3.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\adb.exe -s "7e5dcaba" install -r -d "C:\Users\hledw\Videos\slimeOCUI\share.apk"Isit i need to download new JDK and andriod studio?

Android build problem when I clear app data?

$
0
0
I made a mini mobile game that has many scenes (each level in the game is a scene). the levels start from scene number 1 but there is a scene number 0 which contains an empty that has a script attached to it "Level0". public class Level0 : MonoBehaviour { public int levelIndex; public IEnumerator delayCoroutine() { yield return new WaitForSeconds(1f); SceneManager.LoadSceneAsync(levelIndex); } void Awake() { levelIndex = SaveLoadManager.loadCurrentLevelIndex(); StartCoroutine(delayCoroutine()); } } the role of this script is to call a static function from "SaveLoadManager" which returns the next level index (scene index in the build settings). public static int loadCurrentLevelIndex() { if (File.Exists(Application.persistentDataPath + "/data.txt")) { BinaryFormatter bf = new BinaryFormatter(); FileStream stream = new FileStream(Application.persistentDataPath + "/data.txt", FileMode.Open); PlayerDataSerializable data = bf.Deserialize(stream) as PlayerDataSerializable; stream.Close(); return data.realCurrentLevel; } else { return 1; } } so the method gets the level index from the data file but if the file is not found it just returns "1". Now the problem is that when I build the game to my OPPO A73 with Android 10 and enter the app settings and choose"clear data" and reopen the game, then it crashes at level0. however when I do the same thing with Nokia 3 (Android 9) or Xiaomi Redmi Note 10 (Android 11) the game works fine and loads the first level as expected. I monitored the errors via Logcat in Android Studio but I didn't get any error from Unity. Is the problem with my OPPO device? because I got this error in Logcat: E/DispScene: [/data/oppo/multimedia/oppo_display_perf_list.xml]:open config fail Or with Android 10?

Code not showing up when opening Visual Studio from Unity

$
0
0
when i select visual studio in unity external tool, unity shows android sdk tool is not found and when i open c# script , visual studio shows up but do not shows any code just a blank screen. i am using unity 2020 and i have downloaded all the other require material in visual studio to run the c# code. My OS is windows 10.

CommandInvokationFailure: Gradle build failed. unity 2019.4.22

$
0
0
Note: Ads\Ads\Temp\gradleOut\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. [:com.facebook.android.audience-network-sdk-6.4.0:] C:\Users\HP\.gradle\caches\transforms-2\files-2.1\fbc1e4faba4192a1e90fb232d4073c82\AndroidManifest.xml:5:5-51 Error: Missing 'package' key attribute on element package at [:com.facebook.android.audience-network-sdk-6.4.0:] AndroidManifest.xml:5:5-51 [:com.facebook.android.audience-network-sdk-6.4.0:] C:\Users\HP\.gradle\caches\transforms-2\files-2.1\fbc1e4faba4192a1e90fb232d4073c82\AndroidManifest.xml Error: Validation failed, exiting FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':launcher:processReleaseManifest'. > Manifest merger failed with multiple errors, see logs * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 12s Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 UnityEngine.GUIUtility:ProcessEvent (int,intptr) can anyone tell the solution of this issue

Devices No Longer Supported | When releasing app on google playstore

$
0
0
# Main Problem See Image ![Devices No Longer Supported][1] Is that Ok ..? # What i did See Image "Change Minimum API 16 TO API 19" ![API 19[2] Because Minimum API Level is 19 in Unity2020.1.0 ( i also downloaded API level 16-17 on SDK .?) #For Knowledge is it possible to get Minimum API Level 16 in Unity 2020.1.0 ..? or is this normal ..? Mean its ok to upload with Minimum API Level 19 ..? is there any way to get all devices support ..? Any suggestion , Help , Advice ..? Thank you in advance [1]: /storage/temp/181064-devices-no-longer-supported.jpg [2]: /storage/temp/181065-minimum-api-level-19.jpg

Gradle error minsdk in manifest please help

$
0
0
[The minSDk version can not be specified in the AndroidManifest.xml file. You have to remove it. I am getting this error when I build the game using unity. I am using firebase and native gallery plugin. I have two android manifest files in my project screen shoots are attached. PLEASE HELP ME.][1] [link of the error i am facing][1] [manifest file of Firebase][2] [manifest file of assets>plugins>Android][3] [1]: https://i.stack.imgur.com/hqOoP.png [2]: https://i.stack.imgur.com/9i2MO.png [3]: https://i.stack.imgur.com/ab0BY.png PLEASE HELP

weird error prevent unity building apk PLZ help

$
0
0
![alt text][1] hi, when i build for "App bundle(aab)" done successful but when build for APK i get this red error that told me to USE and DO NOT USE the android.enableR8.
"WARNING: The option 'android.enableR8' is deprecated and should **not be used** anymore. It will be removed in a future version of the Android Gradle plugin, and will no longer allow you to disable R8. WARNING: DSL element 'useProguard' is obsolete and will be removed soon. **Use 'android.enableR8'** in gradle.properties to switch between R8 and Proguard."
** i try multiple solution No luck: -------------------------------- ** ================================ - add/remove android.enableR8=true from gradleTemplate file . - switch android.enableR8 to android.enableD8 . - reinstall SDK,gradle,android-ndk-r19,jre . [1]: /storage/temp/181521-11111.png - unity version :2019.4.27f1 - gradle:3.6.0 - target api level :30 - custom gradleTemplate enabled - custom launcherTemplate enabled - custom mainTemplate enabled - keystore and keystore password verified.
-some changes apply to those files required by google admob plugin: Assets/Plugins/Android/mainTemplate.gradle Assets/Plugins/Android/launcherTemplate.gradle https://developers.google.com/ar/develop/unity/android-11-build?id#unity_20193_and_20194
any solution ?

I can't use TTS on Android 11

$
0
0
Hi, I'm developing a game with a Text To Speech feature. It works fine on the other version but doesn't work on Android 11. I'm using Unity 2020.3.11f and already add to the manifest. Please helps me to solve this problem. Thanks

Android SDK is missing build-tools

$
0
0
I don't know why but in the Unity 2020.3.13 version, I was getting this kind of error dialog box when I try to export a build. ![alt text][1] I have downloaded the whole package from Unity HUB rather than doing any manual stuff and these are my External Tools screenshot: ![alt text][2] At present, I can't able to export android build because of this error message so please guide me to solve this. [1]: /storage/temp/183426-android-sdk-missing.png [2]: /storage/temp/183427-android-sdk-ndk-paths.png

please help! i cannot build my oculus quest game

$
0
0
i keep trying to build my quest game and i keep getting this error: UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ca] in <433cbae83977409887e43d50043210d2>:0 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <433cbae83977409887e43d50043210d2>:0 UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) are there any fixes??? please let me know

One Signal dependecies issue

$
0
0
Hello, i am having trouble with including One Signal SDK into my unity project for some reason i cannot resolve it. So i ahve done everything according to the unity sdk documentation of the One Signal api, and whenever i am trying to build i get this errors (posted below). I have no prior knowledge to Gradle, and i am really struggling with this issue. Thank you. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':launcher:checkReleaseDuplicateClasses'. > 1 exception was raised by workers: java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class android.support.v4.app.INotificationSideChannel found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class android.support.v4.graphics.drawable.IconCompatParcelizer found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class android.support.v4.os.IResultReceiver found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class android.support.v4.os.ResultReceiver found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class android.support.v4.os.ResultReceiver$1 found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.accessibilityservice.AccessibilityServiceInfoCompat found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.ActivityCompat found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.ActivityCompat$1 found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.ActivityCompat$OnRequestPermissionsResultCallback found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.ActivityCompat$PermissionCompatDelegate found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.ActivityCompat$RequestPermissionsRequestCodeValidator found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.ActivityCompat$SharedElementCallback21Impl found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.ActivityCompat$SharedElementCallback21Impl$1 found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.ActivityManagerCompat found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.ActivityOptionsCompat found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.ActivityOptionsCompat$ActivityOptionsCompatImpl found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.AlarmManagerCompat found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.AppComponentFactory found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.AppLaunchChecker found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.AppOpsManagerCompat found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.BundleCompat found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.BundleCompat$BundleCompatBaseImpl found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.ComponentActivity found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.ComponentActivity$ExtraData found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.CoreComponentFactory found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.CoreComponentFactory$CompatWrapped found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.FrameMetricsAggregator found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.FrameMetricsAggregator$FrameMetricsApi24Impl found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.FrameMetricsAggregator$FrameMetricsApi24Impl$1 found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.FrameMetricsAggregator$FrameMetricsBaseImpl found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.FrameMetricsAggregator$MetricType found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.JobIntentService found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.JobIntentService$CommandProcessor found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.JobIntentService$CompatJobEngine found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.JobIntentService$CompatWorkEnqueuer found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.JobIntentService$CompatWorkItem found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.JobIntentService$GenericWorkItem found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.JobIntentService$JobServiceEngineImpl found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.JobIntentService$JobServiceEngineImpl$WrapperWorkItem found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.JobIntentService$JobWorkEnqueuer found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.JobIntentService$WorkEnqueuer found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NavUtils found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationBuilderWithBuilderAccessor found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$Action found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$Action$Builder found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$Action$Extender found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$Action$SemanticAction found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$Action$WearableExtender found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$BadgeIconType found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$BigPictureStyle found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$BigTextStyle found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$Builder found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$CarExtender found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$CarExtender$UnreadConversation found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$CarExtender$UnreadConversation$Builder found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$DecoratedCustomViewStyle found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$Extender found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$GroupAlertBehavior found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$InboxStyle found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$MessagingStyle found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$MessagingStyle$Message found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$NotificationVisibility found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$StreamType found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$Style found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompat$WearableExtender found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompatBuilder found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompatExtras found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompatJellybean found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompatSideChannelService found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationCompatSideChannelService$NotificationSideChannelStub found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationManagerCompat found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runtime.jar (:core-1.0.0-rc02:) Duplicate class androidx.core.app.NotificationManagerCompat$CancelTask found in modules androidx.core.core-1.0.0-runtime.jar (:androidx.core.core-1.0.0:) and core-1.0.0-rc02-runti

Multiple errors: Gradle/SDK/JDK related. Unity android build

$
0
0
I'm experiencing a number of Gradle errors while trying to build an android videogame. The original error was about the corrupted Build Tools revision 31.0.0. I followed a guide that was saying: simply uninstal api 31 in the android studio and use api 30. I did so, and now the errors are in the same number but slightly different. I've reinstalled api 31 and the error did not change back to the past group. Now i'm blocked. I don't have really nothing else to say, i'm honestly miles away from my knowledge. I can't describe what is happening. The Errors:FIRST ERROR Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':launcher:compileDebugJavaWithJavac'. > Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 9s Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) SECOND ERROR CommandInvokationFailure: Gradle build failed. D:\Unity\Unity install\2020.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "D:\Unity\Unity install\2020.3.14f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.6.4.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleDebug" stderr[ Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':launcher:compileDebugJavaWithJavac'. > Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 9s Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 ] stdout[ Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details> Configure project :launcher WARNING: The option 'android.enableR8' is deprecated and should not be used anymore. It will be removed in a future version of the Android Gradle plugin, and will no longer allow you to disable R8. Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 Build-tool 31.0.0 is missing DX at C:\Users\MyName\AppData\Local\Android\sdk\build-tools\31.0.0\dx.bat Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 File C:\Users\MyName\.android\repositories.cfg could not be loaded. Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 Build-tool 31.0.0 is missing DX at C:\Users\MyName\AppData\Local\Android\sdk\build-tools\31.0.0\dx.bat ] exit code: 1 UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <1f5aacfb83804e518b48285b5fe58926>:0) UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <1f5aacfb83804e518b48285b5fe58926>:0) UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <1f5aacfb83804e518b48285b5fe58926>:0) UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at <1f5aacfb83804e518b48285b5fe58926>:0) UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at <1f5aacfb83804e518b48285b5fe58926>:0) Rethrow as GradleInvokationException: Gradle build failed UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at <1f5aacfb83804e518b48285b5fe58926>:0) UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <1f5aacfb83804e518b48285b5fe58926>:0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <1f5aacfb83804e518b48285b5fe58926>:0) Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown. UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) (at <1f5aacfb83804e518b48285b5fe58926>:0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <1f5aacfb83804e518b48285b5fe58926>:0) UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <1f5aacfb83804e518b48285b5fe58926>:0) UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <1f5aacfb83804e518b48285b5fe58926>:0) UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <25e9afc147634a5ca855ab83fab425dd>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) THIRD Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details > Configure project :launcher WARNING: The option 'android.enableR8' is deprecated and should not be used anymore. It will be removed in a future version of the Android Gradle plugin, and will no longer allow you to disable R8. Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 Build-tool 31.0.0 is missing DX at C:\Users\MyName\AppData\Local\Android\sdk\build-tools\31.0.0\dx.bat Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 File C:\Users\MyName\.android\repositories.cfg could not be loaded. Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 Build-tool 31.0.0 is missing DX at C:\Users\MyName\AppData\Local\Android\sdk\build-tools\31.0.0\dx.bat UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) FORTH UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ca] in <25e9afc147634a5ca855ab83fab425dd>:0 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <25e9afc147634a5ca855ab83fab425dd>:0 UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Unity plug-in/ Support SDK or 3rd party plug-in to handle Huawei Dynamic ability SDK.

$
0
0
Hi, Is there any plug-in support from unity to handle Huawei Dynamic ability SDK in Unity game? Basically in original documentation from Huawei for Dynamic ability SDK [[here][1]] , provided necessary information to integrate the same in android app. is there any 3rd party plug-in/ package to handle the same? Best regards, [1]: https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-dynamicability-introduction-0000001057944549

Android build error(gradle, java)

$
0
0
When I tried to get android build in my project, I encountered errors that I could not solve. JDK installs etc. I checked everything. However, I couldn't find any solution. Build fails with over 900 error messages. There are SDKs such as facebook, firebase, admob in the project. I am sharing screenshots of errors.alt text

I want to know how to access an external USB camera connected to my Android smartphone.

$
0
0
I currently want to access external USB camera connected via USB to my Android smartphone. I want to get a list containing the camera ID of an external camera using the method "getCameraIdList ()" of "android.hardware.camera2.CameraManager" in a Unity app (Script). I don't think I can get the camera ID of an external camera without using "HIDL: android.hardware.camera.provider@2.4" in Android's open source, But I only had no idea how to bring the package to Unity with "AndroidJavaClass provider = new AndroidJavaClass (" android.hardware.camera.provider@2.4 ");". How do I create a Unity script (C #) to get a list that includes the camera IDs of external cameras? I would greatly appreciate it if you could let me know. Thank you. link:[android.hardware.camera.provider@2.4](https://android.googlesource.com/platform/hardware/interfaces/+/refs/heads/master/camera/provider/2.4/ICameraProvider.hal) link:[getCameraIdList](https://developer.android.com/reference/android/hardware/camera2/CameraManager?hl=ja#getCameraIdList() )
Viewing all 455 articles
Browse latest View live


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