Giter VIP home page Giter VIP logo

android-31's People

Contributors

ppoffice avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

android-31's Issues

sdkmanager --update always fails?

I use this android-31 from docker hub to as base image for aws codebuild to build android app but it always fails at update step:

13:59:51 [AWS CodeBuild Plugin] 2022/07/14 06:59:28 Running command yes | $ANDROID_HOME/tools/bin/sdkmanager --update
13:59:51 [AWS CodeBuild Plugin] Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
13:59:51 [AWS CodeBuild Plugin] 	at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156)
13:59:51 [AWS CodeBuild Plugin] 	at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75)
13:59:51 [AWS CodeBuild Plugin] 	at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81)
13:59:51 [AWS CodeBuild Plugin] 	at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73)
13:59:51 [AWS CodeBuild Plugin] 	at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
13:59:51 [AWS CodeBuild Plugin] Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
13:59:51 [AWS CodeBuild Plugin] 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
13:59:51 [AWS CodeBuild Plugin] 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
13:59:51 [AWS CodeBuild Plugin] 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
13:59:51 [AWS CodeBuild Plugin] 	... 5 more
13:59:51 [AWS CodeBuild Plugin] 

why and how to fix this?

Missing file: libpulse.so.0

I am trying to run the emulator so it displays the device. (Some of my Espresso tests fail without the device display.) So I am not supplying the -no-window parameter when starting the emulator. When I don't specify -no-window, the emulator complains that the file libpulse.so.0 is missing and won't start. If it matters, I am specifying "system-images;android-26;google_apis_playstore;x86" and device -d 16 when I create the AVD. (I eventually will be testing my app with a list of various API versions and various device types.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.