java - CoAP Example for android Use Californium -
i'm trying build coap server in android, , i's using californium's example.
https://github.com/curioustechizen/californium/tree/4ace5b85974a0646aaaa6ab43c9314d1c5a438e1
but got error http.java
in package ch.ethz.inf.vs.californium.layers
it shows
the type org.apache.http.entity.contenttype cannot resolved. indirectly referenced required .class files
i'm thinking problem wrong .jar file library imported this:
apache-mimne4j.core-0.7.2.jar californium-0.18.7-final.jar commons-codec-1.6.jar commons-io-2.4.jar commons-logging-1.1.1.jar google-http-client-1.10.3-beta.jar google-oauth-client-1.10.1-beta.jar gson-2.1.jar guava-11.0.1.jar httpclient-4.2.1.jar httpclient-4.3.2.jar httpcore-nio-4.2.1.jar jsr305-1.3.9.jar junit-3.8.1.jar junit-4.8.1.jar mockito-core-1.8.5.jar
hope can tell me whats problem or how fix it, , ask open source coap's android example.
i think missing http-components jar there. use maven?
please note: fork old (2 years). can find actual californium version @ https://eclipse.org/californium/ not have android support see fork removes lot of files , adds android manifest @ - done too.
Comments
Post a Comment