Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Solve "Variable references non-existent resource"(Build in Java, JNI and C, using Android NDK-8 with randomly popped-up errors)
Solve "Variable references non-existent resource" [message #1689925] Tue, 24 March 2015 12:43
Eclipse UserFriend
Hi guys,
I'm doing development using Android NDK, therefore I have to combine Java code and native C via JNI, all in Ubuntu 12.04 and java-7-oracle.
I use the build pattern, i.e. for Java is via the Eclipse tool and for C is via
ndk-build
, from the terminal.
It goes like this:
- Project > Clean (with Build Automatically checked) ; no error
- from terminal, in the jni folder:
ndk-build
; no error
- right-click on project > Run as > Android application; I get this error:

Quote:
Errors occurred during the build.
Errors running builder 'Integrated External Tool Builder' on project 'audiotest'.
Variable references non-existent resource : ${workspace_loc:/com.audiotest.AudiotestActivity}
Variable references non-existent resource : ${workspace_loc:/com.audiotest.AudiotestActivity}


The strange thing is that if I repeat 3 times the "Run as" step, just ignoring the 2 x intermediate error messages, the application is error-free build and installed.
If anyone is expert and kind to give me a hand I'd appreciate.
Thanks!
Previous Topic:PowerPC application error
Next Topic:Resource finder (Ctrl + Shift + R) not working for just 1 of the projects in workspace
Goto Forum:
  


Current Time: Wed Apr 23 01:46:21 EDT 2025

Powered by FUDForum. Page generated in 0.03374 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top