게임 프로그래밍 ( 이제 안함 )/Issue 문제 및 해결

Performing Streamed Install 문제 해결

Nerd_Lee 2019. 5. 14. 20:26
반응형

CommandInvokationFailure: Unable to install APK to device. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details. 
C:/Users/dnsoft/AppData/Local/Android/Sdk\platform-tools\adb.exe -s "R3CM4026NTZ" install -r "C:\Users\dnsoft\Downloads\vr_ma1000_Android\MagicVR_PicoVersion.apk"

stderr[
adb: failed to install C:\Users\dnsoft\Downloads\vr_ma1000_Android\MagicVR_PicoVersion.apk: 
]
stdout[
Performing Streamed Install
]

 

이런 오류가 떴다.

난 오큘러스 Go 버전을 Pico VR로 옮기는 과정에서 생기는 오류가 있었고

지금은 해결을 했다.

 

해결한 방법은 다음과 같다.

 

 

 

 

1. 오큘러스 고 버전에서 제공하는 AndroidManifest를 제거한다.

2. application 태그에 감싸져있는 intent-filter안에, < category android:name="android.intent.category.LAUNCHER >

이걸 아래 처럼 수정한다.

 <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.INFO" />
 </intent-filter>
 
 
 // 이렇게 수정한다.
 <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
 </intent-filter>

3. application 태그 안에 tools:replace="android:debuggable"을 추가한다.  android:debuggable="true" 위에

4. application 태그 안에 android:theme를, "@style/Theme.NoTitleBar"로 변경한다.

 

이렇게 했더니, Performing Streamed Install 문제가 해결되었다.

반응형