Dear all,

Sorry if it is re-post.

Currently, I try to follow the instruction on 
https://docs.wso2.com/display/EMM201/White+Labeling+WSO2+EMM+Android+Agent to 
build my own wso2 agent for Android.
I am using Android Studio 2.1.3 on Windows 7. The document seems a bit outdate 
as it asks me to open the project under 
<EMM_SOURCE_HOME>/modules/mobile-agent/android.
But I found that there are two separate projects under the that. One is client 
and one is system-service. I try to build both of them, but both of them failed.

The build error for client is like this:

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.

Build error for system-service is even more, but also complaining 
startServiceAsUser() is not existing.

Am I downloading the correct source and following the right instruction to 
build? Please help.

Thanks.
Jacky

[http://www.bbpos.com/images/marketing/signature_banner.jpg]<http://bbpos.com>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to