sdk

what is different between ANDROID_HOME & ANDROID_SDK_HOME

天涯浪子 提交于 2021-02-08 15:22:18
问题 I have 2 directory that look same, ANDROID_HOME=C:\Android\sdk ANDROID_SDK_HOME=C:\Users[user]\AppData\Local\Android\Sdk whats the different? can I set it in one dir? 回答1: Based on the documentation: ANDROID_HOME ANDROID_HOME , points to the SDK installation directory. This has been deprecated, use ANDROID_SDK_ROOT instead. If you continue to use it, the following rules apply: If ANDROID_HOME is defined and contains a valid SDK installation, its value is used instead of the value in ANDROID

I cannot run my flutter app. It says Flutter requires Android SDK 28, and I have sdk 28

♀尐吖头ヾ 提交于 2021-02-08 13:11:09
问题 when I run flutter doctor, it shows me the following errors: Running flutter doctor... Doctor summary (to see all details, run flutter doctor -v): [?] Flutter (Channel stable, v1.2.1, on Microsoft Windows [Version 10.0.17134.112], locale en-US) [!] Android toolchain - develop for Android devices (Android SDK version 27.0.3) X Flutter requires Android SDK 28 and the Android BuildTools 28.0.3 To update using sdkmanager, run: D:/Tools/sdk\tools\bin\sdkmanager "platforms;android-28" "build-tools

Flutter requires Android SDK 28 and the Android BuildTools 28.0.3

情到浓时终转凉″ 提交于 2021-02-08 11:36:58
问题 I have a problem with installation the Flutter. I set all the parameters, following the official flutter guide, but i have this error: enter image description here I installed Android sdk, this is my configuration: enter image description here enter image description here I also set the flutter environment variable. What's missing? Thank you E. 回答1: Your build tools don't show a version number, and you can update them to v29. To do so, click on the "-" icon, it will turn into a check icon.

Flutter requires Android SDK 28 and the Android BuildTools 28.0.3

旧城冷巷雨未停 提交于 2021-02-08 11:36:50
问题 I have a problem with installation the Flutter. I set all the parameters, following the official flutter guide, but i have this error: enter image description here I installed Android sdk, this is my configuration: enter image description here enter image description here I also set the flutter environment variable. What's missing? Thank you E. 回答1: Your build tools don't show a version number, and you can update them to v29. To do so, click on the "-" icon, it will turn into a check icon.

How to get the path to the current MacOSX SDK when only Command Line Tools are installed?

断了今生、忘了曾经 提交于 2021-02-07 08:27:56
问题 We are trying to locate the current platform SDK used by some of our OSX machines (10.11). On those machines, only the Command Line Tools are installed , not the full blown Xcode app. Looking up on SO, we were able to find the command xcrun --show-sdk-path , which prints out an empty line. On the other hand, xcrun --show-sdk-version correctly shows 10.11 . Is there a way to locate the path to the SDK used by our compilation tasks ? 回答1: How about xcode-select --print-path The man page says:

Android Studio freezes on startup

给你一囗甜甜゛ 提交于 2021-02-07 06:13:38
问题 I searched all day but haven't find a solution yet. Today I installed Android Studio without any problems. I added the correct path. JAVA_HOME to C:\Program Files\Java\jdk1.8.0_20 and JDK_HOME to C:\Program Files\Java\jdk1.8.0_20 But, when I start the program it freezes on the loading screen. (The gray picture with the green android logo and text Android Studio) It does create a process that I can't close, but after waiting for 20 minutes it's still on that screen. I tried a clean install,

Android Studio freezes on startup

随声附和 提交于 2021-02-07 06:12:03
问题 I searched all day but haven't find a solution yet. Today I installed Android Studio without any problems. I added the correct path. JAVA_HOME to C:\Program Files\Java\jdk1.8.0_20 and JDK_HOME to C:\Program Files\Java\jdk1.8.0_20 But, when I start the program it freezes on the loading screen. (The gray picture with the green android logo and text Android Studio) It does create a process that I can't close, but after waiting for 20 minutes it's still on that screen. I tried a clean install,

Android Studio freezes on startup

被刻印的时光 ゝ 提交于 2021-02-07 06:09:20
问题 I searched all day but haven't find a solution yet. Today I installed Android Studio without any problems. I added the correct path. JAVA_HOME to C:\Program Files\Java\jdk1.8.0_20 and JDK_HOME to C:\Program Files\Java\jdk1.8.0_20 But, when I start the program it freezes on the loading screen. (The gray picture with the green android logo and text Android Studio) It does create a process that I can't close, but after waiting for 20 minutes it's still on that screen. I tried a clean install,

FB ads not loaded when i update FAN to 6.2.0 but ad loaded & shown on 5.+ sdk with same code

為{幸葍}努か 提交于 2021-02-07 04:17:03
问题 I works on integrating ads. But unfortunently When I update sdk to 6.2.0 Ads not loaded (No message appears) But on same code i change sdk to 5.+, Ads loaded and shown implementation 'com.facebook.android:audience-network-sdk:6.2.0' [Not loaded] implementation 'com.facebook.android:audience-network-sdk:5.+' [Loaded and shown] adView = new AdView(this, MainActivity.this.getString(R.string.facebook_banner_id), AdSize.BANNER_HEIGHT_50); // Find the Ad Container LinearLayout adContainer =

FB ads not loaded when i update FAN to 6.2.0 but ad loaded & shown on 5.+ sdk with same code

早过忘川 提交于 2021-02-07 04:15:34
问题 I works on integrating ads. But unfortunently When I update sdk to 6.2.0 Ads not loaded (No message appears) But on same code i change sdk to 5.+, Ads loaded and shown implementation 'com.facebook.android:audience-network-sdk:6.2.0' [Not loaded] implementation 'com.facebook.android:audience-network-sdk:5.+' [Loaded and shown] adView = new AdView(this, MainActivity.this.getString(R.string.facebook_banner_id), AdSize.BANNER_HEIGHT_50); // Find the Ad Container LinearLayout adContainer =