I've tried multiple times to install and use Android Studio on an ARM Chromebook (C100P), but the installation always fails with the failed to run mksdcard tool error. I've read that this happens because Android Studio depends on native binaries that aren't compatible with the ARM processor architecture; even after attempting various hacks or just trying to use the libraries alone, I am still not able to setup Android Development Environment on my ARM Chromebook.
Android Development Environment on an ARM Chromebook?
4.4k views Asked by Mapsy At
1
There are 1 answers
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in ANDROID-STUDIO
- Flutter plugin development android src not opening after opening example
- Listview - Getting error while linking the items correctly in Android Java
- Failed to getEnergyData
- Adding new package in a flutter project does not work untill the android studio is restarted
- unity + Vuforia balck screen in android AR app
- Android Studio Using recently added resources in compose preview in multi-module project
- Flutter project is working in debug version but not in the release version
- Can't run gradlew.bat on Windows
- Android studio crash, nothing in logcat
- Android Studio shows there has 1 usage but No usages found in All places
- Gradle Build errors while running sample code on Android Studio Iguana
- Android camera application restriction to 12 mp
- Change back to default font size in Android Studio
- `android` Does Not Exist in `~/Android/Sdk/platform-tools`
- LSTM frozen layer containing clip_by_value causing android studio to crash when deployed
Related Questions in ARM
- Jiobook flashing
- How to flush denormal numbers to zero for apple silicon?
- How to exploit Unified Memory in OpenCL with CL_MEM_ALLOC_HOST_PTR flag?
- ARM Assembly code is not executing in Vitis IDE
- Which version of ARM does the M1 chip run on?
- Vector by Scalar Division with -ffast-math
- Why veneer code generated by gcc for cortex-m0 seems 8-byte aligned?
- Getting almost random time stamp counter on ARM
- Portenta H7 Baremetal Development and a Little Guidance on Embedded System Learning Roadmap
- STM32 RTC3 Mixed Mode: Writing TR resets SSR
- Implementing Quick Sort Algorithm in Visual2 with armv7
- How can I create an Inline assembly command with a multi-variable register offset?
- Inquiry: ARM Compatibility for Puppeteer
- Confusion with thumb instructions while compiling recipe for cortexm4 CPU
- Difficulty understanding virtual LPIs in GICv3
Related Questions in CHROMEBOOK
- Is there a way to force add kiosk apps via the command line (vt2) on a chromebook?
- I can't make matplotlib work on jupyter (chromebook)
- How can I hide the status bar on a chromebook?
- How can i show message before that the user close the app in Flutter?
- libGDX renders incorrectly on Chromebook windows
- Installing VS Code for Linux: Failed to Retrieve App Info
- Is it possible to programmatically reboot chromeos devices via google admin devices?
- Javascript web bluetooth connections not working on chromebook
- MAUI app opens Chrome browser outside application on Chromebook, but works on Android - How to fix?
- bash: adb: command not found (chromebook)
- Devices (FireTv/Chromebook) are not detecting under ubuntu when its connected via USB cable
- Is it possible to connect to a server with ssh on vscode.dev
- Export Chromebook device list using Google Script
- ChromeBook - how to start a terminal application by clicking an icon
- How can I access all the characters on a Chromebook keyboard?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Native Conclusion:
I've come to the conclusion that you really just can't. Android's compilation tools depend upon native libraries; specifically,
lib32stdc++6andlib32z1. These depend upon 32-bit Intel binaries, so there's no chance of executing these instruction words on an ARM processor (not even with i386 multiarch support) until Google starts making some changes.Luckily, I'm here to present a workaround. We're going to delegate computation to a virtual machine; one that is compatible with these binaries. It'll be free and secure, so you don't have to worry about who gets access to your source code. We're going to achieve this using the Google App Engine.
Workaround:
I'm going to start this tutorial assuming we're using a fresh installation.
First, download the latest Crouton installer so we have a full-fledged Ubuntu distribution to work with. Within the Chromebook shell (Ctrl + Alt + T and enter
shell), execute the installer. I chose to install the latest version of Ubuntu, Xenial, without a window manager. I also enabled integration with the Crouton Chrome extension to enable a shared clipboard.sudo sh ~/Downloads/crouton -r xenial -t touch,audio,keyboard,extensionNext,
enter-chrootinto Ubuntu, and install curl and python:sudo apt-get updatesudo apt-get install curl python gitUse curl to fetch the Google Cloud SDK. You may extract it to the default location
~/google-cloud-sdk, or another directory you'd like.curl https://sdk.cloud.google.com | bash~/.bashrcfile.logoutorexit, then re-enter usingsudo enter-chroot. This enables your Google Cloud SDK installation to be accessible from the command line.gcloud auth login. This will require you to do two things; first, enable the SDK to access your Google Account. Secondly, you'll be required to copy a verification key from your browser at a supplied web address, which you'll need to paste back into the console.Launch the Google Cloud Console's terminal in your web browser. Next, make a clone of your repository within both the Google Cloud Console terminal and your local Chromebook shell.
gcloud initgcloud config set project project-name-heregcloud source repos clone repo-name-herewget https://dl.google.com/android/repository/tools_r25.2.3-linux.zipunzip tools_r25.2.3-linux.zipexport ANDROID_HOME=path/to/unzipped/tools.bashrcto persist the installation across new server instances.sudo apt-get install lib32stdc++ lib32z1sudo apt-get install android-sdk-platform-tools-common android-tools-adb android-tools-adbd android-tools-fastbootDesign Flow
And that's everything! If you've followed these steps correctly, you'll have successfully configured one of Google's virtual machines for Android compilation. Via the Google Cloud Console terminal, it's possible to add Android platform support for various API Levels you wish to compile for.
Here, we add API Level 25, and the Android Support Repositories, as follows:
./android update sdk --filter android-25 --no-ui./android update sdk -u -a -t android-25./android update sdk --all --filter "extra" --no-uiNow, using
git pull origin masterandgit push origin master, you can upload code developed on your Chromebook onto the repository where it may be compiled by the Android SDK. You can do this by executing the project's localgradlewfile, i.e../gradlew build.Once compiled, you may
pullthe generated binaries back onto your development machine and configure connected Android devices using the Android Device Bridge (adb), usingadb install path/to/apk.