Hello all,
I've downloaded the Android Studio, and the Android SDK also called: command line tools
I've downloaded the Java JDK (as stated here: [Setting up the Android SDK Tools][1]
But I have two problems:
1. When installing the Android Studio it didn't give me an option to install the Android SDK, as many YouTube videos from 2017 show.
2. When following the steps in the previous article: **Double click the file called android to run it**
the Android file I have is android.bat, and it doesn't do anything, the sdkmanager is also .bat file but it seems not to do anything as well.
I can't set the path to the sdk, that wasn't installed at all.
Why it is so hard to set up google sdk, oculus and vive takes minutes.
Thank in advanced.
[1]: https://unity3d.com/learn/tutorials/topics/mobile-touch/building-your-unity-game-android-device-testing
↧
Why can't I install Andoir SDK for unity
↧
SDK Tools not working
The Android SDK tools are not working. I have gone through forum after forum and tried all different versions of SDK tools. I have installed Android studio, tried replacing the tools with all typed of versions and still the same error. The path is set correctly, but the issue persists.
![alt text][1]
[1]: /storage/temp/108993-error.png
Not sure what else to try and i can not update my game until it is fixed.
I currently have the latest version of Unity, with the latest version of SDK tools and still will not work.
↧
↧
Android SDK problem
Hello,
I'm trying to make android games. I installed the JDK but I have a problem with the SDK.
I can't open the "android.bat" file, I tried to open it as administrator but it didn't work either, when I double click it, it shows black box for a few time and then it disappears, I'm running Windows 10, please help!
↧
"Gradle Build Failed" when building for Android
I was trying to build my AR game for Android. I fixed an error claiming that unity could not find my SDK by using the solution in [this][1] thread, and it seemed to work as the process got farther before giving an error. I get this error when trying to build and run now (it gets through detecting my phone plugged in and seems to do most of the building then the error is thrown at the end):> Gradle build failed. See console for details
In the console, I get this:
CommandInvokationFailure: Gradle build failed.
C:\Program Files\Java\jdk-9.0.1\bin\java.exe -classpath "D:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.0.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"
stderr[
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '9.0.1'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
]
stdout[
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1 progress, System.String error)
UnityEditor.Android.GradleWrapper.Run (System.String workingdir, System.String task, System.Action`1 progress)
Rethrow as GradleInvokationException: Gradle build failed
UnityEditor.Android.GradleWrapper.Run (System.String workingdir, System.String task, System.Action`1 progress)
UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
What does this mean? What do I do to fix this? Any help would be greatly appreciated
[1]: https://answers.unity.com/questions/1323731/unable-to-list-target-platforms-please-make-sure-t.html
↧
Android build error
Hi, my build keeps on failing and the solutions provided online doesn't work.
My error is as follows:
CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct.
C:/DevTools/Sdk\tools\bin\avdmanager.bat list target -c
stderr[
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.(SchemaModule.java:156)
at com.android.repository.api.SchemaModule.(SchemaModule.java:75)
at com.android.sdklib.repository.AndroidSdkHandler.(AndroidSdkHandler.java:81)
at com.android.sdklib.tool.AvdManagerCli.run(AvdManagerCli.java:213)
at com.android.sdklib.tool.AvdManagerCli.main(AvdManagerCli.java:200)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 5 more
]
stdout[
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.AndroidSDKTools.RunAndroidSdkTool (System.String toolName, System.String arguments, Boolean updateCommand, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.AndroidSDKTools.ListTargetPlatforms (UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit)
UnityEditor.Android.AndroidSDKTools.GetTopAndroidPlatformAvailable (UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK+SDKPlatformDetector.GetVersion (UnityEditor.Android.AndroidSDKTools sdkTools)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK+SDKComponentDetector.Detect (UnityEditor.Android.AndroidSDKTools sdkTools, System.Version minVersion, UnityEditor.Android.PostProcessor.ProgressHandler onProgress)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK.EnsureSDKComponentVersion (System.Version minVersion, UnityEditor.Android.PostProcessor.Tasks.SDKComponentDetector detector)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK.EnsureSDKComponentVersion (Int32 minVersion, UnityEditor.Android.PostProcessor.Tasks.SDKComponentDetector detector)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
↧
↧
UnityEditor.BuildPlayerWindow+BuildMethodException - Anyone guide to solve this ERROR please???
It's been 2 days since I'm trying to solve this error while building an apk.![alt text][1]
Updated JDK and SDK also ,
Updated Unity3D to new version,
tried to build on desktop rather then specific folder but
still failed...
[1]: /storage/temp/112963-error-android.png
↧
How to uninstall google support library version 28.0.0alpha1
I added OneSignal into my project for push notifications and everything worked well. Then I added GoogleAnalyticsv4 for analytics and I couldn't build an apk. So I decided to remove GoogleAnalytics all together and use UnityAnalytics at the moment. But when I close and open the project again, the play services resolves removes the support library with version 27.0.1 and adds the support library with version 28.0.0 alpha1 and I cannot build again. Could anyone guide me on how to resolve this problem..Been stuck for a couple of days now.
Thanks!
↧
Configure Android Sdk, JDK on mac
How to Configure Android Sdk, JDK on mac?
there is no "Preferences" options on mac
↧
android SDK not running
I need to test touch controls so I downloaded the android sdk and jdk as well. Jdk installed perfectly but android SDK isn't working at all. Whenever I try to run the android windows batch file,in the tools folder, the command prompt pops up and immediately closes. I've tried run as admin but that doesn't do anything either. I've tried re downloading and re-extracting but nothing works.
↧
↧
Facebook SDK Android Error Message: "Failed to re-package resources. See Console for details"
Every time I try to deploy my project to an android phone for testing I keep getting the pop up message, "Failed to re-package resources". I imported the Facebook SDK version 7.11.1 and am on Unity 2017. My Android Studio SDK is up-to-date as well. Two errors are appearing in the console, the first is this incredibly long trace:
CommandInvokationFailure: Failed to re-package resources.
C:\Users\dwise\AppData\Local\Android\Sdk\build-tools\27.0.1\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Users/dwise/AppData/Local/Android/Sdk\platforms\android-27\android.jar" -F bin/resources.ap_ --extra-packages android.support.graphics.drawable.animated:android.support.v7.appcompat:android.support.v7.cardview:android.support.customtabs:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:android.support.graphics.drawable:com.facebook.android:com.facebook.applinks:com.facebook.common:com.facebook.core:com.facebook.login:com.facebook.messenger:com.facebook.places:com.facebook.share:com.unity3d.player -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.animated-vector-drawable-25.3.1\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.cardview-v7-25.3.1\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.customtabs-25.3.1\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.support-compat-25.3.1\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.support-core-ui-25.3.1\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.support-core-utils-25.3.1\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.support-fragment-25.3.1\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-25.3.1\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.support-v4-25.3.1\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.support-vector-drawable-25.3.1\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.11.1\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-applinks\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-common\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-core\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-login\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-messenger\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-places\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-share\res" -S "D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\VuforiaWrapper\res"
stderr[
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_action_mode_close_item_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_action_mode_close_item_material.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_action_mode_close_item_material.xml: note: using v17 attributes; synthesizing resource com.roocards:layout/abc_action_mode_close_item_material for configuration v17.
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:scrollIndicators from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_alert_dialog_button_bar_material.xml:26: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource com.roocards:layout/abc_alert_dialog_button_bar_material for configuration v17.
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml:36: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.roocards:layout/abc_alert_dialog_title_material for configuration v17.
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.roocards:layout/abc_dialog_title_material for configuration v17.
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_popup_menu_header_item_layout.xml:24: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_popup_menu_header_item_layout.xml: note: using v17 attributes; synthesizing resource com.roocards:layout/abc_popup_menu_header_item_layout for configuration v17.
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_popup_menu_item_layout.xml:59: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_popup_menu_item_layout.xml: note: using v17 attributes; synthesizing resource com.roocards:layout/abc_popup_menu_item_layout for configuration v17.
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.roocards:layout/abc_screen_toolbar for configuration v21.
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.roocards:layout/abc_search_view for configuration v17.
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_select_dialog_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\abc_select_dialog_material.xml: note: using v17 attributes; synthesizing resource com.roocards:layout/abc_select_dialog_material for configuration v17.
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_device_auth_dialog_fragment.xml: note: using v17 attributes; synthesizing resource com.roocards:layout/com_facebook_device_auth_dialog_fragment for configuration v17.
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_smart_device_dialog_fragment.xml:94: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_smart_device_dialog_fragment.xml:94: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_smart_device_dialog_fragment.xml:83: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_smart_device_dialog_fragment.xml:83: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_smart_device_dialog_fragment.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\facebook-common\res\layout\com_facebook_smart_device_dialog_fragment.xml: note: using v17 attributes; synthesizing resource com.roocards:layout/com_facebook_smart_device_dialog_fragment for configuration v17.
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\notification_action.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\notification_action.xml:32: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\notification_action.xml: note: using v17 attributes; synthesizing resource com.roocards:layout/notification_action for configuration v17.
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\notification_action_tombstone.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\notification_action_tombstone.xml:37: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout\notification_action_tombstone.xml: note: using v17 attributes; synthesizing resource com.roocards:layout/notification_action_tombstone for configuration v17.
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.roocards:layout/notification_template_big_media for configuration v17.
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:89: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:56: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from
D:\Roocards Files\Builds\RooCardsMVP\RooCardsMVP\Temp\StagingArea\android-libraries\com.android.support.appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from
the second is in relation to Build Player:
UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0020e] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:181
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:88
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
I've tried every solution I could think of but have had no luck. If anyone can help diagnose where these errors are coming from it will be much appreciated.
↧
SDK Platform Tools version 0.0.0 < 23.0.0
I've tried using multiple versions of the Android SDK. I've tried installing version through Android studio as well as just installing the command line tools. My path in Unity's preferences is set to the root sdk path.
↧
Unable to resolve build tools directory.
Hello, I would like to test my game on android so i downloaded android sdk but whenever i hit build an error pops up that says: unable to resolve build tools directory. check the console for details. How can i fix it? Thanks!
↧
Problemas con Unity 2017.1.0f3 (Android 8) / 2017.3.0f3 (In App Purchases) / 2017.3.0f3 (Exportar)
Saludos compañeros, hace pocos días publiqué mi primer videojuego en la Play Store; sin embargo, han surgido una serie de problemas que si son solucionados aparecen nuevos, sin poder alcanzar un punto de equilibrio. No he encontrado información al respecto en Internet, por lo que agradecería infinitamente su ayuda. Paso a enumerar los errores y que pasa si los arreglo de cierta manera.
- Uso la versión Unity 2017.1.0f3, cuando exporto el apk y lo subo a la Play Store el In App Purchase de Unity funciona con normalidad, pero al parecer el juego no funciona en dispositivos con Android 8 (se queda la pantalla en negro), ya que parece que esa versión de Unity no lo soporta. Si existe alguna forma de que pueda realizar un apk con esa versión de Unity y que funcione en dispositivos con Android 8 me gustaría saberlo.
- Para solucionar el problema de la incompatibilidad con Android 8, descargué la versión 2017.3.0f3 de Unity. El problema de Android 8 se arregló; sin embargo, el In App Purchase de Unity dejó de funcionar (ya no aparece el cuadro de compra característico de la Play Store). No sé si tenga que ver con un bug en dicha versión de Unity, pero si existiese una forma de solucionarlo, realmente agradecería saberla.
- Por último, pensando que el problema del In App Purchase de Unity está relacionado a su versión 2017.3.0f3, descargué la versión 2017.3.1f1. Con esta versión ni siquiera puedo exportar un apk, así que no puedo corroborar si el In App Purchase de Unity o la compatibilidad con Android 8 funcionan (Adjunto imagen del error). Probé varias posibles soluciones encontradas en foros: Tener la última versión del SDK, mover el proyecto a Documentos, ejecutar como administrador; pero ninguna funcionó.
Nuevamente, agradeceré profundamente cualquier tipo de ayuda.
![alt text][1]
[1]: /storage/temp/114897-as.png
↧
↧
Problem exporting with the sdk android
Hello!
I need help. I've been trying to export for android and I have many problems. I installed the jdk and the android studio, but unity still sends error messages. I'm new at this so any help I'll be thankful.
Here are some screen shots of my configurations and the error messages:
**1.- Error message:**
![alt text][1]
**2.- Error message:**
![alt text][2]
3.-Missing SDK from android studio:
![alt text][3]
**4.-External tools:**
![alt text][4]
**5.- SDK and tools folders:**
Here I don't know why there is so many "tools" folders. And I'm not sure if the content is right.
![alt text][5]
[1]: https://lh5.googleusercontent.com/DWRO7sds7LhQx8w4ftpzrbXHsK1MpNSrLiq9w5UmH-GUZ2cEengSamRviO2iz3MKGvAmg4aqoZWi2uwLyuIS=w2460-h1598-rw
[2]: https://lh3.googleusercontent.com/7VWzLkqM0lAKGmCfCzk7kF1FZnbWOhk0Az9BeiotGwRYRTDg2TsKbdfr6UGjaDTLXH3shfeTuvkzpPHJwknn=w2460-h1598-rw
[3]: https://lh5.googleusercontent.com/qZSmjrbs6NRCTYybUtIYTmyEZUegw4TdrF5oohXsIruJOYQDTFA35RRwpH_TgWGud86DqIZSoUHLU1b5z3vY=w2460-h1598-rw
[4]: https://lh3.googleusercontent.com/X8c7hnXZ2QE0pWZSAJO9UaI3uoROJPBep_j0AqttXqpP4_eft2eFq7NnKrKhgKDmG09e5s6BBVu8nKSCnhck=w1502-h1552-rw
[5]: https://lh5.googleusercontent.com/cefn3w7Cg9nsY3bihRiO2wwkjo8iT_dL73jIpRMMdoIdPC7lWbBy_pyvsRH5SKGLbXJAm7pGy7AEN5O7npc9=w1502-h1552-rw
↧
Android build gradle failed
I'm almost frustrated with this, **almost all the way I try but nothing works. So I am using unity 2017.4.1f1 and I have some errors like the following.**
Please help me :( i am new in unity.
![alt text][1]
![alt text][2]
[1]: /storage/temp/115945-capture.png
[2]: /storage/temp/115946-capture2.png
↧
Cannot install apk in android 8.0.0 (API level 26)
after I export apk file from unity and try to install it in my phone, which is android 8.0.0 (API level 26), the installation always fail. However, those apk file could be executed successfully in android version lower than 7.0. Is it because unity does not support android 8.0.0 (API level 26) yet ? Or is there any player settings I have to change in order to run the app in android 8.0 ?
↧
Error when building for Android, SDK path is incorrect while it is.
Hi guys,
I am trying to build out a project to Android. I downloaded the SDK, downloaded the virtual devices from the SDK manager. Linked up the SDK to Unity and so the JDK.
The first time I pressed build, it built out and no problems happened. It was late, I closed the project and then today I tried to do a new build but got an error that the SDK path is incorrect and I should put the correct one.
I went to check the Preference > External Tools > Android SDK path and it is there... the correct one. Despite that, I copied and pasted the path into my Windows Explorer and it was there. I tried again. Same thing. Changed the path to something irrelevant and changed it back. Same thing.
I did a quick search over the internet and found out that the tools folder sometimes have a problem and I need to redownload it. Despite doing that already, I did it again. Same issue. Checked the SDK Manager that it has the target android versions, they are there.
I am currently at a loss and am not sure what to do. Anyone has any suggestions?
Thanks!
↧
↧
how do i get OpenSSL for android build facebook setting?
so..... I look up on how to do it and it is still not working. When unity received the path for the openssl and then it said "key tool not found. Make sure java is installed and that java tools is in your path".
I already installed Java and it asking me it is not found.
I tried the environment variable and it did not work also after I refresh unity. I have no idea where to go next.
This problem is causing to not be able to build my game in my phone and this only started to happen when I decided to include the share button in my game.
Any help or insight an this matter would be greatly appreciated. Thank you for helping.
↧
How can I start creating android games in unity
Hi everyone, so I am new in using UNITY and I want to make android games. But I can't seem to start making one. I checked some videos i YT and told that i need to download SDK and stuff. I am able to download SDK and followed the steps but I can't seem to go through the part were I need to select the SDK folder? I really want to start and learn how to develop android games, can someone help me out with this? thanks.
↧
Can someone help me identify why my project won't build?
I am using unity 2018 1.1f1 personal and this is actually my first project on this version of unity. I have my android sdk well linked in my preferences and my jdk is well installed on my computer.
↧