Android Emulator on Silicon | Apple Developer Forums

文章推薦指數: 80 %
投票人數:10人

so I have an iMac m1 24 inch model. I'm able to install the android emulator along with android studio which I hear has been working towards making ... GlobalNavOpenMenu GlobalNavCloseMenu AppleDeveloper SearchDeveloper Cancel AppleDeveloper Discover Design Develop Distribute Support Account Cancel DeveloperForums Searchbykeywordsortags SubmitSearch Clearsearchquery AdditionalinformationaboutSearchbykeywordsortags SupportedSearches:KeywordsearchkeywordSingletag[iOS]MultipletagswithOR[iOS]OR[macOS]OR[Xcode]MultipletagswithAND[iOS][macOS][Xcode]Keywordsandtags[iOS][macOS]keywordUsernamesandprofilesuser:appleseed Ask Profile ▲ Signin Createaccount Searchbykeywordsortags SubmitSearch Clearsearchquery AdditionalinformationaboutSearchbykeywordsortags SupportedSearches:KeywordsearchkeywordSingletag[iOS]MultipletagswithOR[iOS]OR[macOS]OR[Xcode]MultipletagswithAND[iOS][macOS][Xcode]Keywordsandtags[iOS][macOS]keywordUsernamesandprofilesuser:appleseed     You’renowwatchingthisthreadandwillreceiveemailswhenthere’sactivity.Clickagaintostopwatchingorvisityourprofile/homepagetomanageyourwatchedthreads.   You’vestoppedwatchingthisthreadandwillnolongerreceiveemailswhenthere’sactivity.Clickagaintostartwatching. AnyoneabletogetanAndroidEmulatorupandrunningonSilicon?I'vetriedtheAVDofAndroidStudioaswellasGenymotion;neitherwork. Testing   Postnotyetmarkedassolved Upvotepostofdkardell Downvotepostofdkardell 23k views Asked by dkardell Copytoclipboard Sharethispost CopiedtoClipboard AnswerthisQuestion AddaComment Answers   anyone? Posted by dkardell Copytoclipboard Sharethispost CopiedtoClipboard   Upvotereplyofdkardell Downvotereplyofdkardell votes 0 heywassup.IranacrossyourquestionandInoticeditwasposted11monthsago.bynowIthinkyou'veprobablyfoundtheanswer?Ihaveonlypartofit.soIhaveaniMacm124inchmodel.I'mabletoinstalltheandroidemulatoralongwithandroidstudiowhichIhearhasbeenworkingtowardsmakingvirtualizationwithm1chipsareality.Ipartiallyworks.theonlyappthatisinstalledatthemomentismessagesandgoogle.nogooglestore. howeveratthestartupoftheemulatorthereisawarningthatsays: CouldnotautomaticallydetectanADBbinary.SomeemulatorfunctionalitywillnotworkuntilacustompathtoADBisadded.thiscanbedoneinExtendedControls(...)>settings>generaltab>"usedetectedADBlocation naturallyIneedhelptoobutthisisasfarasI'vegottensofar.hopethishelps — snyper22 AddaComment   WhataboutAndroidStudio!Doesitwork?Howistheperformance,buildtime? Posted by fi8er1 Copytoclipboard Sharethispost CopiedtoClipboard   Postnotyetmarkedassolved Upvotereplyoffi8er1 Downvotereplyoffi8er1 AddaComment   Itwon'tworkcozAppleM1lacksofvirtualizationsupport Posted by bigmack11011 Copytoclipboard Sharethispost CopiedtoClipboard   Postnotyetmarkedassolved Upvotereplyofbigmack11011 Downvotereplyofbigmack11011 AddaComment   Nope.Triedwithoutsuccess. Posted by dlecouilliard Copytoclipboard Sharethispost CopiedtoClipboard   Upvotereplyofdlecouilliard Downvotereplyofdlecouilliard AddaComment   CodeBlockItmightworksoonbasedonthislinkhttps://issuetracker.google.com/issues/173766929videodemohttps://issuetracker.google.com/action/issues/173766929/attachments/31822043?download=true Posted by essuraj Copytoclipboard Sharethispost CopiedtoClipboard   Upvotereplyofessuraj Downvotereplyofessuraj AddaComment   JusttriedtorunAndroidStudio(4.1.1)onMacbookProM1,itworks,but:NoemulatorsatthispointCanbuildandpublishonAndroidPhone(Nexus4ainmycase)IntelliJhassomelagsinperformanceonM1(becauseitisnotnative,andIntelbuilt),butfeelsprettyusable. Posted by outcoldman Copytoclipboard Sharethispost CopiedtoClipboard   Upvotereplyofoutcoldman Downvotereplyofoutcoldman AddaComment   googlehasreleasedAndroidemulatorforM1chipset,nowthelatestversionisv3youcanfindithere:https://github.com/google/android-emulator-m1-preview/releases Posted by Bowen404 Copytoclipboard Sharethispost CopiedtoClipboard   Postnotyetmarkedassolved UpvotereplyofBowen404 DownvotereplyofBowen404 AddaComment   Yes,AndroidStudioandtheM1emulatorareworking.HoweverkeepinmindthatsometimesAndroidStudiowillstartpushingtoSwapmassivelyabout1hourofworkin.IkeepaneyeonitandjustrestartthePC.IthinktheswapissueisfromRosetta2butnotsure.CompiletimesareprettyfastIstoppedusingmyAMD3950xWindowsbuildandnowjustrunningMacBookAirM1foralldevelopment.Goodluckwithyoursetup. Posted by DroneMesh Copytoclipboard Sharethispost CopiedtoClipboard   Postnotyetmarkedassolved UpvotereplyofDroneMesh DownvotereplyofDroneMesh AddaComment   Didyouupdateyourandroidstudiotothelatestone? OrYouareusingarosetta? Canyoupleaseletusknowhowyouovercomethisproblem? Posted by nitin_j Copytoclipboard Sharethispost CopiedtoClipboard   Upvotereplyofnitin_j Downvotereplyofnitin_j AddaComment   AndroidStudiofailstobuildmylargeJava+C(NDK)appontheM1-Macmini.TheJavaJVMcrashesduringoneofthesteps.Thisistruewithboththebuilt-inJVMandtheJava8onmymachine.IcanbuildsampleappsincludingJava+C,butnotmyappthatisinproduction. ThesameappbuildsfineonanIntelMacBookPro.IeventriedlettingAndroidStudiocreateanemptyJava+Cproject,thenmovingmyappintoitandadjustingthebuildinformation.Sameproblem. IamforcedtokeepmyMacBookProactive,withmyprojectfilesonit,asaresult. IfIcouldrollbacktheclock,I'dgetanIntelMini,sigh. Posted by Mesodev Copytoclipboard Sharethispost CopiedtoClipboard   UpvotereplyofMesodev DownvotereplyofMesodev AddaComment   Yes,Itdoesworkwiththelatestreleaseoftheandroidemulatorform1bygoogle.GoogleAndroidemulatorform1 Posted by SumitGA Copytoclipboard Sharethispost CopiedtoClipboard   UpvotereplyofSumitGA DownvotereplyofSumitGA AddaComment   HelloTeam, "NeedhelpwithlaunchingAndroidTVonMacM1Pro" Error:EmulatorprocessforAVDhasterminated. UnabletoopenandroidTVemulatoronmacm1pro->AndroidStudioversionAndroidStudioBumblebee|2021.1.1 RecommendedandARMimagestabsareemptyandunabletolaunchdevicebyselectinganyoftheoptionsunderotherimagestab. Attachingscreenshotsforreference. Posted by rvishal64 Copytoclipboard Sharethispost CopiedtoClipboard   Upvotereplyofrvishal64 Downvotereplyofrvishal64 AddaComment   Ifoundawaytomakethevirtualizationwork.dmme Posted by snyper22 Copytoclipboard Sharethispost CopiedtoClipboard   Upvotereplyofsnyper22 Downvotereplyofsnyper22 votes 0 WhereshouldIDMyou? — JoeAsh04 AddaComment



請為這篇文章評分?