Hi Jacky,

Please use the [email protected] email address to report your problem. This mail
is for reporting jenkins build status of WSO2 products.

Thanks
Geeth

On Fri, Aug 26, 2016 at 7:55 PM, Jacky.Lam <[email protected]> wrote:

> Dear all,
>
>
>
> 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\c
> lient\client\src\main\java\org\wso2\emm\agent\services\Netwo
> rkConnectedReceiver.java
> Error:(42, 28) error: cannot find symbol method
> startServiceAsUser(Intent,UserHandle)
> C:\shared\source\product-mdm\modules\mobile-agents\android\c
> lient\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://bbpos.com>
>
> _______________________________________________
> Builder mailing list
> [email protected]
> https://wso2.org/cgi-bin/mailman/listinfo/builder
>
>


-- 

*G. K. S. Munasinghe*
*Senior Software Engineer,*
*WSO2, Inc. http://wso2.com <http://wso2.com/> *
*lean.enterprise.middleware.*

email: [email protected]
phone:(+94) 777911226

<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to