2
我遵循Wiki中的说明(https://docs.wso2.com/display/EMM201/Creating+a+New+Android+APK+File)并使用Android Studio 2.1.3编译项目。但它给了我以下错误:WSO2代理编译Android Studio错误2.1.3
C:\shared\source\product-mdm\modules\mobile-agents\android\client\client\src\main\java\org\wso2\emm\agent\services\NetworkConnectedReceiver.java
Error:(42, 28) error: cannot find symbol method startServiceAsUser(Intent,UserHandle)
C:\shared\source\product-mdm\modules\mobile-agents\android\client\client\src\main\java\org\wso2\emm\agent\utils\CommonUtils.java
Error:(432, 11) error: cannot find symbol method startServiceAsUser(Intent,UserHandle)
Error:(445, 11) error: cannot find symbol method startServiceAsUser(Intent,UserHandle)
Note: Some input files use or override a deprecated API.
任何想法如何解决这个问题?
我也有这个问题。 –
希望你用WSO2 EMM 2.0.1试试这个。如果是这种情况你克隆了正确的版本吗?因为如果你只是克隆主分支,它将不兼容2.0.1。另外,让我们知道你正在尝试的Java版本和Android版本? – GPrathap