Android Studio Arctic Fox (Canary) for Apple Sillicon

Overview

Android Studio Arctic Fox for Apple Silicon

This is a unofficial canary version of Android Studio Arctic Fox on the Apple Silicon. (e.g M1 Chip)

Download

You can download at project release page (Click Here!)

Current version

Android Studio Arctic Fox Canary 14 (Updated at 2021-04-08)

Tested Project

  • Android Project (Native)
  • Flutter Project
  • Kotlin Native Multiplatform

Not working (still may issue)

  • Zoom with Trackpad
  • Kotlin Native Multiplatform iOS Build (But, Android build is ok)
    • You can build manualy open *.xcodeproject with Xcode.
  • Android Studio splash screen not closing.
    • But, you can using editor normally. When the editor is closed, the splash screen also closed automatically.
  • More.. (If an issue occurs while using it, please submit the issue. Thanks!)

Disclaimer

This project is not official. I started this project because Android Studio (Intel) was too slow in my Apple Silicon environment. It will be updated weekly until Google officially supports Apple Silicon.

Comments
  • Cannot open Local Termnial.

    Cannot open Local Termnial.

    Thank you so much for porting Android Studio!!

    Steps:

    • Open terminal.

    Output:

    Cannot open Local Terminal
    Failed to start [/bin/zsh, --login, -i] in /projectdir
    
    
    See your idea.log (Help | Show Log in Finder) for the details.
    

    idea.log content: https://gist.github.com/Starmel/bde7662384920bc8558d41778b4567b0

    opened by Starmel 30
  • The rendering library could not be initialized

    The rendering library could not be initialized

    com.android.tools.idea.layoutlib.RenderingException: The rendering library could not be initialized
    	at com.android.tools.idea.layoutlib.LayoutLibraryLoader.loadImpl(LayoutLibraryLoader.java:91)
    	at com.android.tools.idea.layoutlib.LayoutLibraryLoader.load(LayoutLibraryLoader.java:120)
    	at org.jetbrains.android.sdk.AndroidTargetData.getLayoutLibrary(AndroidTargetData.java:182)
    	at org.jetbrains.android.sdk.AndroidTargetData.getLayoutLibrary(AndroidTargetData.java:174)
    	at com.android.tools.idea.rendering.RenderService$RenderTaskBuilder.lambda$build$2(RenderService.java:645)
    	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
    	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
    	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
    	at java.base/java.lang.Thread.run(Thread.java:834)
    

    image

    From SO to fix this by disable new layout rendering engine but can't find this option in experimental settings. Thank you

    opened by yodyyyy 12
  • Cannot open [canary-15]

    Cannot open [canary-15]

    I'm [canary-14-2] user and It works very well. Need to use your latest build. I found this message when try to open [canary-15]

    “Android Studio Preview ARM64” is damaged and can’t be opened. You should move it to the Trash.
    

    Thanks for great build.

    opened by diewland 4
  • The JDK is still

    The JDK is still "Intel", please replace it

    The JDK in the Android Studio release is still for Intel processor. I replaced it with Zulu JDK, everything works well.

    This is where I download the JDK: Java 11, macOS, ARM64, Zulu JDK

    You should replace this entire folder: Screen Shot 2021-04-19 at 22 48 03

    Then your Android Studio will runs smoother. Screen Shot 2021-04-19 at 22 51 58

    Thanks for your arm64 build!

    opened by reekystive 4
  • IDE Fatal Errors 'kotlin.KotlinNullPointerException' when create a new project.

    IDE Fatal Errors 'kotlin.KotlinNullPointerException' when create a new project.

    Hello, did anyone can help me? I face this error when I create a new project. Did I miss something? btw, Thank you for this awesome project! image

    The full of error message:

    	at com.android.tools.idea.templates.recipe.DefaultRecipeExecutor.contentEquals(DefaultRecipeExecutor.kt:627)
    	at com.android.tools.idea.templates.recipe.DefaultRecipeExecutor.copy(DefaultRecipeExecutor.kt:277)
    	at com.android.tools.idea.npw.module.recipes.androidProject.AndroidProjectRecipeKt.androidProjectRecipe(androidProjectRecipe.kt:56)
    	at com.android.tools.idea.npw.module.recipes.androidProject.AndroidProjectRecipeKt.androidProjectRecipe$default(androidProjectRecipe.kt:31)
    	at com.android.tools.idea.npw.model.NewProjectModel$ProjectTemplateRenderer$performCreateProject$recipe$1.invoke(NewProjectModel.kt:229)
    	at com.android.tools.idea.npw.model.NewProjectModel$ProjectTemplateRenderer$performCreateProject$recipe$1.invoke(NewProjectModel.kt:228)
    	at com.android.tools.idea.npw.model.NewTemplateRendererKt$doRender$1.run(NewTemplateRenderer.kt:98)
    	at com.intellij.openapi.command.WriteCommandAction$BuilderImpl$1.run(WriteCommandAction.java:112)
    	at com.intellij.openapi.application.RunResult.run(RunResult.java:35)
    	at com.intellij.openapi.command.WriteCommandAction.lambda$performWriteCommandAction$1(WriteCommandAction.java:253)
    	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1006)
    	at com.intellij.openapi.command.WriteCommandAction.lambda$performWriteCommandAction$2(WriteCommandAction.java:252)
    	at com.intellij.openapi.command.WriteCommandAction.lambda$doExecuteCommand$4(WriteCommandAction.java:310)
    	at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:220)
    	at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:187)
    	at com.intellij.openapi.command.WriteCommandAction.doExecuteCommand(WriteCommandAction.java:312)
    	at com.intellij.openapi.command.WriteCommandAction.performWriteCommandAction(WriteCommandAction.java:251)
    	at com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAction.java:232)
    	at com.intellij.openapi.command.WriteCommandAction$BuilderImpl.run(WriteCommandAction.java:114)
    	at com.android.tools.idea.npw.model.NewTemplateRendererKt.doRender(NewTemplateRenderer.kt:97)
    	at com.android.tools.idea.npw.model.NewTemplateRendererKt.render(NewTemplateRenderer.kt:66)
    	at com.android.tools.idea.npw.model.NewTemplateRendererKt.render(NewTemplateRenderer.kt:81)
    	at com.android.tools.idea.npw.model.NewTemplateRendererKt.render$default(NewTemplateRenderer.kt:80)
    	at com.android.tools.idea.npw.model.NewProjectModel$ProjectTemplateRenderer.performCreateProject(NewProjectModel.kt:232)
    	at com.android.tools.idea.npw.model.NewProjectModel$ProjectTemplateRenderer.render(NewProjectModel.kt:206)
    	at com.android.tools.idea.npw.model.MultiTemplateRenderer$countDown$2$1$3.run(MultiTemplateRenderer.kt:136)
    	at com.intellij.openapi.application.WriteThread.lambda$submit$0(WriteThread.java:27)
    	at com.intellij.openapi.application.WriteThread.lambda$submit$1(WriteThread.java:44)
    	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:216)
    	at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:24)
    	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:199)
    	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:828)
    	at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLaterOnWriteThread$11(ApplicationImpl.java:817)
    	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:85)
    	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:134)
    	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:47)
    	at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:190)
    	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
    	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
    	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
    	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
    	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
    	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:976)
    	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:843)
    	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:454)
    	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:773)
    	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:453)
    	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:828)
    	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:501)
    	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
    	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
    	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
    	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
    	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
    opened by firdyfirdy 2
  • KAPT issue: Execution failed for task ':common:kaptDebugKotlin'.

    KAPT issue: Execution failed for task ':common:kaptDebugKotlin'.

    HI,

    Thanks for the job you're doing, that save our lives ;-)

    I have an issue with KAPT (using Room), I didn't have with your canary-14 release, but it appears on the official canary-15 and also on your canary-15.

    The detailed issue is explained here: https://issuetracker.google.com/issues/186785903

    Any ideas on how to fix this issue ?

    Thanks

    opened by JJSarrasin 1
  • I can't run .apk file

    I can't run .apk file

    Hello everyone! Im getting this error when im trying open file on VSCode Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

    Screen Shot 2022-10-14 at 4 30 56 PM

    python session_android.py Traceback (most recent call last): File "/Users/aialatlasov/Projects/test_automation/7_mobile_automation_with_appium/mobile/session_android.py", line 16, in driver = webdriver.Remote( File "/Users/aialatlasov/opt/anaconda3/lib/python3.9/site-packages/appium/webdriver/webdriver.py", line 230, in init super().init( File "/Users/aialatlasov/opt/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 272, in init self.start_session(capabilities, browser_profile) File "/Users/aialatlasov/opt/anaconda3/lib/python3.9/site-packages/appium/webdriver/webdriver.py", line 320, in start_session response = self.execute(RemoteCommand.NEW_SESSION, w3c_caps) File "/Users/aialatlasov/opt/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 429, in execute self.error_handler.check_response(response) File "/Users/aialatlasov/opt/anaconda3/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 243, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command '/Users/aialatlasov/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 install /Users/aialatlasov/Projects/test_automation/7_mobile_automation_with_appium/mobile/TheApp.apk' exited with code 1'; Command output: adb: failed to install /Users/aialatlasov/Projects/test_automation/7_mobile_automation_with_appium/mobile/TheApp.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

    Stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command '/Users/USERNAME/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 install /Users/USERNAME/Projects/test_automation/7_mobile_automation_with_appium/mobile/TheApp.apk' exited with code 1'; Command output: adb: failed to install /Users/USERNAME/Projects/test_automation/7_mobile_automation_with_appium/mobile/TheApp.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

    I installed Android drivers and tools but I still getting this message. I am using Macbook Pro 13 m1

    Thanks!

    opened by Cynosure11 0
  • "Apply Code Changes" Doesn't work

    I get the following error when I try to apply code changes or reload an activity on a phone connected over wifi:

    Changes were not applied.
    Runtime Exception.
    java.util.concurrent.ExecutionException: java.lang.StringIndexOutOfBoundsException: offset 0, count -1, length -1
    
    opened by londospark 0
  • Running an App directly from AS doesn't update Native Libraries in device

    Running an App directly from AS doesn't update Native Libraries in device

    AS does update and pack them into the apk but doesn't update the ones in device when you run directly. You have to clean install or install the apk manually via adb command.

    opened by erenalp 1
Releases(arctic-fox-beta4)
Owner
Dora Lee
도라에몽처럼 만능이 되고픈 22살 개발자에요! Scatter Lab Software Engineer (iOS / Android)
Dora Lee
Android Studio's Vector Drawable conversion tool in convenient packaging.

Vector Drawable Tool This repository is simply a repackaging of the vector drawable tool from the Android Studio source code. The included Gradle file

Ryan Harter 55 Sep 26, 2022
Localization tool for Android Studio Projects

Android Strings Resource Language Diff tool In the event any additional languages are intended to be supported by your app. You can use this strings-d

Braxton Nunnally 1 Mar 24, 2022
A tool to install components of the Android SDK into a Maven repository or repository manager to use with the Android Maven Plugin, Gradle and other tools.

Maven Android SDK Deployer Original author including numerous fixes and changes: Manfred Moser [email protected] at simpligility technologies i

simpligility 1.4k Dec 27, 2022
A simple utility to remove unused resources in your Android app to lower the size of the APK. It's based on the Android lint tool output.

android-resource-remover android-resource-remover is utility that removes unused resources reported by Android Lint from your project. The goal is to

Keepsafe 1.3k Dec 16, 2022
A tool to install components of the Android SDK into a Maven repository or repository manager to use with the Android Maven Plugin, Gradle and other tools.

Maven Android SDK Deployer Original author including numerous fixes and changes: Manfred Moser [email protected] at simpligility technologies i

simpligility 1.4k Dec 27, 2022
Automated-build-android-app-with-github-action - CI/CD Automated Build Android App Bundle / APK / Signed With Github Action

Automated Build Android With Using Github Action Project Github Action Script Us

Faisal Amir 34 Dec 19, 2022
proguard resource for Android by wechat team

AndResGuard Read this in other languages: English, 简体中文. AndResGuard is a tooling for reducing your apk size, it works like the ProGuard for Java sour

shwenzhang 8.1k Jan 9, 2023
A super fast build tool for Android, an alternative to Instant Run

Freeline Freeline is a super fast build tool for Android and an alternative to Instant Run. Caching reusable class files and resource indices, it enab

Alibaba 5.5k Jan 2, 2023
Command-line tool to count per-package methods in Android .dex files

dex-method-counts Simple tool to output per-package method counts in an Android DEX executable grouped by package, to aid in getting under the 65,536

Mihai Parparita 2.6k Nov 25, 2022
View Inspection Toolbar for Android Development

View Inspector Plugin View inspection toolbar for android development. Features Boundary show outlines show margins show paddings Layer Scalpel featur

Fumihiro Xue (Peter Hsieh) 2.2k Nov 14, 2022
Make Android screenshots of scrollable screen content

scrollscreenshot Make Android screenshots of scrollable screen content - brought to you by PGS Software SA This tool makes a number of screenshots, sc

PGS Software 714 Dec 7, 2022
🍼Debug Bottle is an Android runtime debug / develop tools written using kotlin language.

???? 中文 / ???? 日本語 / ???? English ?? Debug Bottle An Android debug / develop tools written using Kotlin language. All the features in Debug bottle are

Yuriel Arlencloyn 846 Nov 14, 2022
[] Dissect layout traversals on Android

Probe Dissect layout traversals on Android. Features Intercept View methods. onMeasure(int, int) onLayout(boolean, int, int, int, int) draw(Canvas) an

Lucas Rocha 555 Nov 25, 2022
Android Library Finder

alfi Android Library Finder Search through thousands of android libraries that can help you scale your projects elegantly Usage Search for something a

César Ferreira 509 Dec 8, 2022
Annotation based simple API flavored with AOP to handle new Android runtime permission model

Let Annotation based simple API flavoured with AOP to handle new Android runtime permission model. If you check Google's Samples about the new permiss

Can Elmas 530 Nov 25, 2022
Combines tools for fast android app devlopment

Android - Rapid Test Driven Development Combine tools to generate most of the boilerplate code. Examples how to test different aspects of an android a

Nico Küchler 379 Nov 25, 2022
Make mosaic effect on android

ProMosaic Make mosaic for image on android. Features Select Mode Follow finger Select rectangle Effect Mode Grid color based on original image Blur Im

dawson 359 Dec 29, 2022
A set of Android tools that facilitate apps development

A set of Android tools that facilitate apps development Well, this repo contains pretty much code used internally at Stanfy to develop Android apps. S

Stanfy 183 Dec 3, 2022