[펌] java.lang.NoClassDefFoundError:failed resolution of :Lorg/apache/http/ProtocolVersion
Unity3D/Trouble Shooting / 2019. 5. 29. 13:07
[My Case]
[Error] java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/HttpHost
[수정] Unity Android Target API Level을 26으로 낮춰서 해결
-------------------------------------------------------------------------------------------------
Do any of the following:
1- Update the play-services-maps library to the latest version:
com.google.android.gms:play-services-maps:16.1.0
2- Or include the following declaration within the <application> element of AndroidManifest.xml.
<uses-library android:name="org.apache.http.legacy" android:required="false" />
[출처]
반응형