score:-1
excuse me about my spelling mistakes, i am student and i study english now. my project has the same problem. i had to spend all day to find solution :). in your root project folder you need to open file ".cproject" and add the following text:
<option is_builtin_empty="false" is_value_empty="false" id="com.android.gcc.option.definedsymbols.156386137" superclass="com.android.gcc.option.definedsymbols" valuetype="definedsymbols">
<listoptionvalue builtin="false" value="__android__=0"/>
</option>
i do not know what the numbers mean in the end of id section, but i freely changed them and everything was ok.
this text adds symbol __android__
. moreover tab "symbols" becomes visible:
notice that __android__
has value 0. you can check it if you open preferences->c/c++ general/path and symbols/symbols (now it is here)
proof of appearing __symbols__
section in eclipse:
finally, a chunk of my __.cproject__
file:
<storagemodule moduleid="cdtbuildsystem" version="4.0.0">
<configuration artifactname="${projname}" buildproperties="" description="" id="com.android.toolchain.gcc.665394794" name="default" optionalbuildproperties="" parent="org.eclipse.cdt.build.core.emptycfg">
<folderinfo id="com.android.toolchain.gcc.665394794.1631346437" name="/" resourcepath="">
<toolchain id="com.android.toolchain.gcc.1551434208" name="android gcc" superclass="com.android.toolchain.gcc">
<targetplatform binaryparser="org.eclipse.cdt.core.elf" id="com.android.targetplatform.1128161810" isabstract="false" superclass="com.android.targetplatform"/>
<builder id="com.android.builder.1391955059" keepenvironmentinbuildfile="false" managedbuildon="false" name="android builder" superclass="com.android.builder">
<outputentries>
<entry flags="value_workspace_path|resolved" kind="outputpath" name=""/>
</outputentries>
</builder>
<tool id="com.android.gcc.compiler.541863979" name="android gcc compiler" superclass="com.android.gcc.compiler">
<option is_builtin_empty="false" is_value_empty="false" id="com.android.gcc.option.includepath.156366136" superclass="com.android.gcc.option.includepath" valuetype="includepath">
<listoptionvalue builtin="false" value=""c:\frameworks\androidndk\platforms\android-19\arch-arm\usr\include""/>
<listoptionvalue builtin="false" value=""c:\mingw\include""/>
<listoptionvalue builtin="false" value=""c:\frameworks\androidndk\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\lib\gcc\arm-linux-androideabi\4.9.x\include""/>
<listoptionvalue builtin="false" value=""c:\frameworks\androidndk\sources\android\native_app_glue""/>
</option>
<option is_builtin_empty="false" is_value_empty="false" id="com.android.gcc.option.definedsymbols.156386137" superclass="com.android.gcc.option.definedsymbols" valuetype="definedsymbols">
<listoptionvalue builtin="false" value="__android__=0"/>
</option>
<inputtype id="com.android.gcc.inputtype.661587658" superclass="com.android.gcc.inputtype"/>
</tool>
</toolchain>
</folderinfo>
<sourceentries>
<entry flags="value_workspace_path|resolved" kind="sourcepath" name="jni"/>
</sourceentries>
</configuration>
</storagemodule>
hope this information will be useful.
score:2
i was having the same issue with the missing symbols
tab, i finally started poking around and discovered that the tabs are different for every toolchain. the android gcc toolchain in particular does not have a symbols
tab for some reason. (seems like a bug to me)
to change the current toolchain: properties -> c/c++ build -> tool chain editor
i had to uncheck display compatible toolchains only
then i chose the option cygwin gcc
and set current builder
to android builder
the symbols
tab now shows up.
as far as i can tell everything seems to be working the same as it was with the android gcc toolchain. if there are any bad side effects to this approach, i am unaware of what they are. if i find anything, i will come back and update my answer.
Source: stackoverflow.com
Related Query
- Cannot set __ANDROID__ Symbol with NDK Plugin for Eclipse
- Bad perfomance with Android plugin for Eclipse
- The Eclipse plugin cannot communicate with the GlassFish server check for antivirus software blocking or monitoring this port
- Can't find Android SDK for Eclipse with ADT plugin
- NVIDIA DEBUG MANAGER FOR ANDROID NDK ECLIPSE PLUGIN
- google web tookit with google plugin for eclipse v3.8.0 cannot debug
- opencv stitching code showing error when ported with ndk in eclipse for android App
- Eclipse Indigo - Cannot install Android ADT Plugin
- Profiling Android apps with Eclipse plugin TPTP instead of traceview
- Maven for Eclipse 1.5.0 plugin cannot be installed under Kepler
- Installing ADT plugin in Eclipse for Android development
- Set Build path in Eclipse for ndk program
- Cannot install Cobertura plugin for Eclipse
- Cannot search for artifact in Eclipse Kepler using m2e plugin
- Eclipse with android plugin - Blocked at "calculating requirements and dependencies"
- Where can I find the source code for the Android Development Tools (ADT) plugin for the Eclipse IDE?
- "Selection cannot be launched and there are no recent launches” when Eclipse for Android Project Dev
- Cannot complete installing Google Plugin for eclipse
- Javadoc for Android project in Eclipse fails with NullPointerException
- Eclipse plugin for working with protobuf
- Installing Android Plugin Error with Eclipse Juno 4.2.0
- How to set up the Eclipse for remote C debugging with gdbserver?
- What version of Eclipse is included with the SDK ADT bundle for Android Dev?
- Android with Eclipse - Waiting for HOME ('android.process.acore') to be launched?
- Eclipse indexer errors when using STL with Android NDK
- How to configure opencv in Eclipse for Java developers with plugin CDT?
- How to use Linked Files in Eclipse for PhoneGap project with Android
- How do I set the Java Doc for google drive api for android in Eclipse
- Eclipse IDE with Android - exceptions while opening XML files for the first time
- Would GWT plugin for Eclipse 4.4 work with Eclipse Mars 4.5
More Query from same tag
- Ant, Android and Eclipse
- How can I set the time zone in Eclipse (wrong cvs log time stamps)?
- Updated to Java 8 and Eclipse failed to launch
- Strange behavior with different java application export option
- How to change eclipse suggestions order and content
- Why won't this work; opencv Mat_<float>
- How to import cocos2dx project in eclipse
- Eclipse from 2019 to 2020-3 hangs when saving changes in web.xml
- Hadoop in Eclipse environment
- sort line by last name and in order
- android eclipse debugger never starts
- Relative path on Eclipse EE
- Plugin execution not covered by lifecycle configuration for maven-plugin-plugin in m2e 1.5.x / Eclipse Luna
- eclipse can't find android.support.v4.widget.SwipeRefreshLayout
- 'Missing semicolon' warning in Eclipse for JavaScript code
- Where does Eclipse store projects / packages etc?
- Why does my really really simple Java program which doesn't yet do anything sometimes work and sometimes doesn't?
- Shortcut key to switch between XML layout and the java class in eclipse (android )
- Memory managnment command in eclipse.ini ignored
- Initialization of unit-test in PyDev?
- Unable to launch a new activity.something to do with onAnimationEnd?
- Liferay developer client webservices
- Undefined reference, but linked and included
- How to upgrade Eclipse for Java EE Developers?
- Eclipse Plugins - Null Pointers
- API usage example for org.eclipse.jdt.core.dom.AST
- Scroll bar disappearing when resizing dialog
- Unable to consume rest service on jsp page using jquery ajax
- Eclipse Export Product not possible
- how to make the text box in eclipse intake text and use it as a varible