Hi Sidath,

True, but its supposed to be included within the android 22 sdk.. and I
noticed that AndroidHttpClient should be included within the SDK itself.

However after building this with the android 23 sdk with hidden APIs, the
issue went away.

Thanks

On Mon, Oct 17, 2016 at 1:47 PM, Sidath Weerasinghe <sid...@wso2.com> wrote:

> Hi Hasitha,
>
> I think you miss the dependency in the gradle.
>
> http://stackoverflow.com/questions/31433687/android-
> gradle-apache-httpclient-does-not-exist
>
> On Mon, Oct 17, 2016 at 1:32 PM, Hasitha Amal De Silva <hasit...@wso2.com>
> wrote:
>
>> Hi,
>>
>> While trying to build the APK for android agent at [1], I'm getting the
>> following compile errors.
>>
>> .../iotserver/product-emm/modules/mobile-agents/android/clie
>> nt/volley/src/main/java/com/android/volley/toolbox/HttpStack.java
>> Error:(22, 23) error: package org.apache.http does not exist
>>
>> .../iotserver/product-emm/modules/mobile-agents/android/clie
>> nt/volley/src/main/java/com/android/volley/toolbox/Volley.java
>> Error:(22, 24) error: cannot find symbol class AndroidHttpClient
>> ...
>> ..
>>
>> I followed article [2] to setup the Android studio and SDK 22 and 16 and
>> the hidden android.jar file. It looks like the volley library requires
>> Apache HTTP lib and its not being imported.
>>
>> Any clue as to what I'm missing ?
>>
>> [1] : https://github.com/wso2/product-emm/tree/master/modules/
>> mobile-agents/android/client
>> [2] : https://docs.wso2.com/display/EMM210/Customizing+the+
>> Android+APK+File
>>
>> --
>> Cheers,
>>
>> Hasitha Amal De Silva
>> Senior Software Engineer
>> Mobile : +94772037426
>> Blog    : http://devnutshell.tumblr.com/
>> WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. )
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thank You,
> Best Regards,
>
> Sidath Weerasinghe
>
>
> *Intern*
>
> *WSO2, Inc. *
>
> *lean . enterprise . middleware *
>
>
> *Mobile: +94719802550 <%2B94719802550>*
>
> *Email: *sid...@wso2.com
>
> Blog: https://medium.com/@sidath
>
> Linkedin: https://lk.linkedin.com/in/sidathweerasinghe
>



-- 
Cheers,

Hasitha Amal De Silva
Senior Software Engineer
Mobile : +94772037426
Blog    : http://devnutshell.tumblr.com/
WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. )
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to