android:exported needs to be explicitly specified for <activity ...

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

Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter ... Skiptocontent {{message}} flutter / flutter Public Notifications Fork 23.4k Star 145k Code Issues 5k+ Pullrequests 163 Actions Projects 169 Wiki Security Insights More Code Issues Pullrequests Actions Projects Wiki Security Insights Newissue Haveaquestionaboutthisproject?SignupforafreeGitHubaccounttoopenanissueandcontactitsmaintainersandthecommunity. Pickausername EmailAddress Password SignupforGitHub Byclicking“SignupforGitHub”,youagreetoourtermsofserviceand privacystatement.We’lloccasionallysendyouaccountrelatedemails. AlreadyonGitHub? Signin toyouraccount Jumptobottom Error:android:exportedneedstobeexplicitlyspecifiedfor.AppstargetingAndroid12andhigherarerequiredtospecifyanexplicitvalueforandroid:exportedwhenthecorrespondingcomponenthasanintentfilterdefined. #98055 Closed andesappalopenedthisissue Feb8,2022 ·5comments Closed Error:android:exportedneedstobeexplicitlyspecifiedfor.AppstargetingAndroid12andhigherarerequiredtospecifyanexplicitvalueforandroid:exportedwhenthecorrespondingcomponenthasanintentfilterdefined. #98055 andesappalopenedthisissue Feb8,2022 ·5comments Labels r:solved Issueisclosedassolved Comments Copylink andesappal commented Feb8,2022 StepstoReproduce runflutterupgradetoversion2.10(latest) runflutterbuildapk-tlib/src/main.dart--split-per-abi Expectedresults:theappshould'vebuilt Actualresults: AndroidManifest.xmlError: android:exportedneedstobeexplicitlyspecifiedfor.AppstargetingAndroid12andhigherarerequiredtospecifyanexplicitvaluefor`android:exported`whenthecorrespondingcomponenthasanintentfilterdefined.Seehttps://developer.android.com/guide/topics/manifest/activity-element#exportedfordetails. FAILURE:Buildfailedwithanexception. *Whatwentwrong: Executionfailedfortask':app:processReleaseMainManifest'. >Manifestmergerfailed:android:exportedneedstobeexplicitlyspecifiedfor.AppstargetingAndroid12andhigherarerequiredtospecifyanexplicitvaluefor`android:exported`whenthecorrespondingcomponenthasanintentfilterdefined.Seehttps://developer.android.com/guide/topics/manifest/activity-element#exportedfordetails. *Try: Runwith--stacktraceoptiontogetthestacktrace.Runwith--infoor--debugoptiontogetmorelogoutput.Runwith--scantogetfullinsights. *Getmorehelpathttps://help.gradle.org BUILDFAILEDin5s RunningGradletask'assembleRelease'...6.8s AndroidManifest.xml Logs Thetextwasupdatedsuccessfully,buttheseerrorswereencountered: Allreactions Thiscommentwasmarkedasdisruptivecontent. Signintoview danagbemava-nc added the intriage Presentlybeingtriagedbythetriageteam. label Feb9,2022 Copylink Member danagbemava-nc commented Feb9,2022 Hi@andesappal,fromwhatIcanseeinyourAndroidManifest.xml,youhaveanotheractivitythatdoesn'thavetheandroid:exportedproperty Canyoucheckifaddingtheandroid:exportedpropertyfixesthisissue? Allreactions Sorry,somethingwentwrong. danagbemava-nc added the waitingforcustomerresponse TheFlutterteamcannotmakefurtherprogressonthisissueuntiltheoriginalreporterresponds. label Feb9,2022 Thiscommentwasmarkedasdisruptivecontent. Signintoview andesappal closedthisascompleted Feb9,2022 github-actions bot removed the waitingforcustomerresponse TheFlutterteamcannotmakefurtherprogressonthisissueuntiltheoriginalreporterresponds. label Feb9,2022 andesappal mentionedthisissue Feb9,2022 app-release.apkresultsinauthfailure,whilerunningmain.dartonAndroidStudioisauthsuccess #98032 Closed danagbemava-nc added r:solved Issueisclosedassolved andremoved intriage Presentlybeingtriagedbythetriageteam. labels Feb9,2022 Copylink pranoy-smarthealth commented Feb17,2022 Facingthesameissue Allreactions Sorry,somethingwentwrong. Copylink github-actions bot commented Mar5,2022 Thisthreadhasbeenautomaticallylockedsincetherehasnotbeenanyrecentactivityafteritwasclosed.Ifyouarestillexperiencingasimilarissue,pleaseopenanewbug,includingtheoutputofflutterdoctor-vandaminimalreproductionoftheissue. Allreactions Sorry,somethingwentwrong. github-actions bot lockedasresolvedandlimitedconversationtocollaborators Mar5,2022 Signupforfree tosubscribetothisconversationonGitHub. Alreadyhaveanaccount? Signin. Assignees Nooneassigned Labels r:solved Issueisclosedassolved Projects Noneyet Milestone Nomilestone Development Nobranchesorpullrequests 3participants Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.



請為這篇文章評分?