Android : Done. Nothing was installed

本文介绍了在使用Android SDK进行应用程序开发过程中遇到的权限问题及其解决方案。当尝试下载并安装特定版本的构建工具时,可能会遇到拒绝访问错误。通过以管理员身份运行SDK Manager可以解决此问题,从而成功下载所需的构建工具。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

……android-sdk\temp\build-tools_r20-windows.zip (拒绝访问。)

拒绝访问,好吧,多试试呢?还是拒绝……

那就用管理员权限吧!

右键SDK Manager.exe,并选择“以管理员身份运行”,接着点击“是”……

好吧,这时候你可能看到4Kib/s之类的……慢慢等吧,或者直接用VPN吧。祝好运。

07-01 11:39:12.893 6375 6375 I Module : DeviceLockedStatusModuleProvider$Module.updateDeviceLockedStatus():100 repeatCheckTimes = 1, locked = false 07-01 11:39:12.893 2846 4686 W PackageConfigPersister: App-specific configuration not found for packageName: com.google.android.apps.maps and userId: 0 07-01 11:39:12.895 1288 2234 D OplusLayer: Layer() sequence=14817, name=Surface(name=255315a InputMethod)/@0xef987bd - animation-leash of insets_animation#14817 07-01 11:39:12.900 1280 1648 D AudioFlinger: setParameters(): io 0, keyvalue screen_state=on, calling pid 2846 calling uid 1000 07-01 11:39:12.901 1199 1519 D AHAL: AudioDevice: SetParameters: 1398: enter: screen_state=on 07-01 11:39:12.901 1199 1519 D AHAL: AudioVoice: VoiceSetParameters: 86: Enter params: screen_state=on 07-01 11:39:12.901 1199 1519 D AHAL: AudioVoice: VoiceSetParameters: 307: Exit ret: 0 07-01 11:39:12.901 1199 1519 D AHAL: hfp: hfp_set_parameters: 510: enter 07-01 11:39:12.901 1199 1519 D AHAL: FM: fm_set_parameters: 262: Enter 07-01 11:39:12.901 1199 1519 D AHAL: FM: fm_set_parameters: 320: exit 07-01 11:39:12.901 1199 1519 D AHAL: AudioDevice: SetParameters: 1439: - screen = on 07-01 11:39:12.901 1199 1519 D PAL: API: pal_set_param: 988: Enter: param id 8 07-01 11:39:12.901 1199 1519 D PAL: ResourceManager: setParameter: 8333: Enter param id: 8 07-01 11:39:12.901 1199 1519 I PAL: ResourceManager: setParameter: 8356: Screen State:1 07-01 11:39:12.901 1199 1519 D PAL: ResourceManager: setParameter: 9068: Exit status: 0 07-01 11:39:12.901 1199 1519 D PAL: API: pal_set_param: 1003: Exit, status 0 07-01 11:39:12.902 1199 1519 D AHAL: AudioDevice: SetParameters: 1969: exit: screen_state=on 07-01 11:39:12.926 2846 2846 W Looper : Slow dispatch took 124ms main h=com.android.server.notification.NotificationManagerService$WorkerHandler c=com.android.server.notification.NotificationManagerService$$ExternalSyntheticLambda0@8145441 m=0 07-01 11:39:12.928 6568 6568 D OMG_Observer: mScreenWidthDisplay = 1080, mScreenHeightDisplay = 2400, mRotation = 0, mOrient = 1 , mMiniSizeLimit = 660, mNormalSizeLimit =1800 07-01 11:39:12.933 1288 1865 D VRR [OTI]: handleContentIdleCheck [0.000000] 07-01 11:39:12.951 5245 5245 D BaseDepthController: setSurface: 07-01 11:39:12.951 5245 5245 D BaseDepthController: mWaitingOnSurfaceValidity: false 07-01 11:39:12.951 5245 5245 D BaseDepthController: mSurface: null 07-01 11:39:12.952 5245 5245 D LAUNCHER3: Launcher, handlePendingRequest: mPendingActivityRequestCode = -1, handled = false 07-01 11:39:12.954 5245 5245 D StateManager: goToState - fromState: Normal, toState: Normal, partial trace: 07-01 11:39:12.954 5245 5245 D StateManager: at com.android.launcher3.statemanager.StateManager.moveToRestState(StateManager.java:500) 07-01 11:39:12.954 5245 5245 D StateManager: at com.android.launcher3.statemanager.StateManager.moveToRestState(StateManager.java:491) 07-01 11:39:12.954 5245 5245 D StateManager: at com.android.launcher3.statemanager.StatefulActivity.onStop(StatefulActivity.java:119) 07-01 11:39:12.955 5245 5245 D StatsLog: LAUNCHER_ONSTOP 07-01 11:39:12.958 5245 5245 D ViewNative: java.lang.ClassNotFoundException: com.oplus.inner.view.ViewWrapper 07-01 11:39:12.958 5245 5245 D ViewNative: java.lang.ClassNotFoundException: com.color.inner.view.ViewWrapper 07-01 11:39:12.959 5245 5245 D ViewNative: java.lang.ClassNotFoundException: com.oplus.inner.view.ViewWrapper 07-01 11:39:12.959 5245 5245 D ViewNative: java.lang.ClassNotFoundException: com.color.inner.view.ViewWrapper 07-01 11:39:12.959 5245 5245 D ViewNative: java.lang.ClassNotFoundException: com.oplus.inner.view.ViewWrapper 07-01 11:39:12.959 5245 5245 D ViewNative: java.lang.ClassNotFoundException: com.color.inner.view.ViewWrapper 07-01 11:39:12.959 5245 5245 D ViewNative: java.lang.ClassNotFoundException: com.oplus.inner.view.ViewWrapper 07-01 11:39:12.959 5245 5245 D ViewNative: java.lang.ClassNotFoundException: com.color.inner.view.ViewWrapper 07-01 11:39:12.976 6306 6329 I droid.apps.maps: Waiting for a blocking GC ProfileSaver 07-01 11:39:12.976 3310 3457 D OplusQsBrightnessSliderController: etEnforcedAdmin() called with: admin = null
最新发布
07-17
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值