GithubHelp home page GithubHelp logo

Comments (3)

wiktor avatar wiktor commented on August 16, 2024

How did you build it? Via some IDE like Eclipse or IntelliJ IDEA? Error msg would indicate that libs are not present in built apk.

On Mon, Dec 23, 2013 at 4:20 PM, AhnJunghyun [email protected]
wrote:

I tried a way in "README.md"

  1. Copy estimote-sdk-preview.jar along with guava-15.0.jar to your libs directory.
  2. Add following permissions and service declaration to your AndroidManifest.xml:
    I did that exactly and paste your distancedemo code...
  3. DistanceBackgroundView
  4. DistanceBeaconActivity
  5. LeDeviceListAdapter
  6. ListBeaconsActivity
    but It didn't work. and error message:
    AndroidRuntime - java.lang.NoClassDefFoundError: com.estimote.sdk.Beacon.

but I added lib that you told exactly, but I don't know why this message appears.

Reply to this email directly or view it on GitHub:
#4

from android-fleet-management-sdk.

wiktor avatar wiktor commented on August 16, 2024

It looks like you need to clean Eclipse (from menu Project > Clean). If you ctrl click (go to implementation) on the Beacon class, does it go to "Class File Editor".

Do you have libs added libs in Project Preferences > Java Build Path > Libraries?

In your first message, you said that you had problems in runtime. That could indicate that libs were not exported to the apk and only provided during compile time. In Eclipse you would need to check "exported" in Project Preferences > Java Build Path > Order and Export.

If you are new to Java development, note that Android recommends using Android Studio.

from android-fleet-management-sdk.

AhnJunghyun avatar AhnJunghyun commented on August 16, 2024

Thank you for your kind support. I solved the problem!!
The problem is add libs. it is basically a simple..

I use Android Development Tool. you also know that It similar to Eclipse.

First, I tried a way that you had told. added libs in Project Preferences > Java Build Path > Libraries
But didn't work.

So, I solved it in a different way . Do not add by "java Build path".
Jar file should be in libs folder. if there is not libs folder create it and please put your jar file in libs folder.
Then Right click on jar file and do build path and add to build path.

Thank you :D

p.s
South Korea is December 24. Merry Christmas!!

from android-fleet-management-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.