Delphi displays error E2597 when linking to Android.
Before it worked perfectly, but compiling while testing another app in Android Studio, gives the problem, as if it lost some configuration.
Error:
[DCC Error] E2597 C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: error: cannot find -lstlport_static\ C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o): in function InterBase::ibutils::config::IbStringCollect::IbStringCollect(char const*, int):IbStringCollect.cpp:25: error: undefined reference to 'operator delete(void*)' C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o): in function InterBase::ibutils::config::IbStringCollect::IbStringCollect(char const*, int):IbStringCollect.cpp:25: error: undefined reference to '__cxa_end_cleanup' C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o): in function InterBase::ibutils::config::IbStringCollect::~IbStringCollect():IbStringCollect.cpp:36: error: undefined reference to 'operator delete(void*)' C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o): in function InterBase::ibutils::config::IbStringCollect::~IbStringCollect():IbStringCollect.cpp:38: error: undefined reference to 'operator delete(void*)' C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o): in function InterBase::ibutils::config::IbStringCollect::addBeg(char const*, int):IbStringCollect.cpp:46: error: undefined reference to 'operator delete(void*)' C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o): in function InterBase::ibutils::config::IbStringCollect::addBeg(char const*, int):IbStringCollect.cpp:46: error: undefined reference to '__cxa_end_cleanup' C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o):(.ARM.extab+0x0): error: undefined reference to '__gxx_personality_v0' C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o):(.ARM.extab+0x2c): error: undefined reference to '__gxx_personality_v0' C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbConfig.o): in function InterBase::ibutils::config::IbConfig::IbConfig(ibConfigKeyword, char const*, char const*, char const*):IbConfig.cpp:26: error: undefined reference to '__cxa_end_cleanup' C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbConfig.o): in function InterBase::ibutils::config::IbConfig::IbConfig(ibConfigKeyword, char const*, char const*, char const*):IbConfig.cpp:27: error: undefined reference to '__cxa_end_cleanup' C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbConfig.o):(.ARM.extab+0x0): error: undefined reference to '__gxx_personality_v0'