- Forum posts: 4
Jan 6, 2011, 1:16:11 PM via Website
Jan 6, 2011 1:16:11 PM via Website
I have an application which uses the market's LVL. I would like to add the AndroidPit licensing support to be able to sell it via others means.
I have a problem with the compilation of the AndroidPit lib, especially with the aidl file since it is not converted in a java file in the gen folder during compilation, which leads to errors.
I have even restarted from scratch with a new workspace, and a brand new installation of the sdk. The problem arise in my x64 windows 7 an on my x64 Ubuntu too.
Mybe i'm doing something wrong. Here is how I proceed:
Start with an empty workspace, new project from sources, import the LVL and check it is considered as a lib in the android properties.
Then, import-> import existing project into workspace -> select AndroidPit lib, then ok.
Then, i go in the android properties of the lib to input the correct LVL path for my system.
At this point, it should compile without error, but I have the
"Errors occurred during the build.
Errors running builder 'Android Pre Compiler' on project 'androidpit-licensing-lib'.
java.lang.NullPointerException
at com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.handleAidl(Unknown Source)
at com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)"
Is there anyone here with a solution ?
Thanks!
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.