WAI
Status Update
Comments
al...@snappautomotive.io <al...@snappautomotive.io> #2
Example SDK name; android-32-ext2
Example gradle buildable configuration;
apply plugin: 'com.android.library'
android {
compileSdkVersion "android-32-ext2"
.....
Example gradle buildable configuration;
apply plugin: 'com.android.library'
android {
compileSdkVersion "android-32-ext2"
.....
xa...@google.com <xa...@google.com> #3
At this time, we do not intend for third parties to publish custom Android SDKs.
Description
Currently it is possible to build, from the command line, code which requires on a custom SDK by specifying it as the compileSdk in the build file.
Android Studio, however, fails to support downloading the custom SDK or synchronizing these projects, which means that it is difficult to use it to develop apps which use the APIs which are available to firmware apps, but unavailable in the standard app SDKs.
STEPS TO REPRODUCE:
1. Create a custom platform SDK and a custom metadata file based on
2. Place those on a server which isn't hosted in a .
3. Notice the site marked as invalid.
4. Install the custom SDK locally by unzipping it
5. Perform a Gradle Sync and watch Android Studio fail.
6. Compile the code with gradlew from the command line
7. Watch it succeed.
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac)
Android Studio log;
2022-07-06 08:18:46,036 [1679818] WARN - s.RepoProgressIndicatorAdapter - Errors during XML parse:
2022-07-06 08:18:46,036 [1679818] WARN - s.RepoProgressIndicatorAdapter - unexpected element (uri:"
2022-07-06 08:18:46,036 [1679818] WARN - s.RepoProgressIndicatorAdapter - javax.xml.bind.UnmarshalException: unexpected element (uri:"
The code which limits SDK repositories to Google domains is at;
Indication that this restriction has been tightened recently is at
------------------
IMPORTANT: Please read
all required information.
------------------
Studio Build:
Version of Gradle Plugin:
Version of Gradle:
Version of Java:
OS: