Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Problem testing the Android.BarcodeScanner app



Permlink Replies: 1 - Last Post: Oct 9, 2014 1:25 PM Last Post By: Markus Humm
Stev Warby

Posts: 50
Registered: 10/19/14
Problem testing the Android.BarcodeScanner app
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 9, 2014 7:06 AM
I get the following error:

Checking project dependencies...
Compiling DelphiAndroidBarCodeReaderApp.dproj (Release, Android)
[CreateAndroidManifestFile Warning] android:hardwareAccelerated attribute not found. Please review AndroidManifest.template.xml
dcc command line for "DelphiAndroidBarCodeReaderApp.dpr"
c:\program files (x86)\embarcadero\studio\15.0\bin\dccaarm.exe -$D0 -$L- -$Y- --no-config -M -Q -TX.so
-AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;
DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DRELEASE -E.\Android\Release -I"c:\program files (x86)\embarcadero\studio\15.0\lib\Android\Release";
"C:\Program Files (x86)\Devart\MyDAC for RAD Studio XE7\Lib\Android" -LEC:\Users\Public\Documents\Embarcadero\Studio\15.0\Bpl\Android
-LNC:\Users\Public\Documents\Embarcadero\Studio\15.0\Dcp\Android -NU.\Android\Release -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files
(x86)\embarcadero\studio\15.0\lib\Android\Release";"C:\Program Files (x86)\Devart\MyDAC for RAD Studio XE7\Lib\Android" -R"c:\program files
(x86)\embarcadero\studio\15.0\lib\Android\Release";"C:\Program Files (x86)\Devart\MyDAC for RAD Studio XE7\Lib\Android" -U"c:\program files
(x86)\embarcadero\studio\15.0\lib\Android\Release";"C:\Program Files (x86)\Devart\MyDAC for RAD Studio XE7\Lib\Android"
--libpath:C:\Users\Public\Documents\Embarcadero\Studio\15.0\PlatformSDKs\android-ndk-r9c\platforms\android-14\arch-arm\usr\lib;
C:\Users\Public\Documents\Embarcadero\Studio\15.0\PlatformSDKs\android-ndk-r9c\sources\cxx-stl\gnu-libstdc++\4.8\libs\armeabi-v7a
--linker:C:\Users\Public\Documents\Embarcadero\Studio\15.0\PlatformSDKs\android-ndk-r9c\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe
-NO.\Android\Release DelphiAndroidBarCodeReaderApp.dpr
[DCC Warning] Android.BarcodeScanner.pas(39): W1010 Method 'Create' hides virtual method of base type 'TComponent'
[DCC Error] Android.BarcodeScanner.pas(77): E2003 Undeclared identifier: 'aeBecameActive'
[DCC Error] Android.BarcodeScanner.pas(77): E2008 Incompatible types
[DCC Error] Android.BarcodeScanner.pas(122): E2003 Undeclared identifier: 'stringtojstring'
[DCC Error] Android.BarcodeScanner.pas(124): E2003 Undeclared identifier: 'sharedactivity'
[DCC Error] Android.BarcodeScanner.pas(124): E2066 Missing operator or semicolon
[DCC Fatal Error] MainUnit.pas(11): F2063 Could not compile used unit 'Android.BarcodeScanner.pas'
Failed
Elapsed time: 00:00:00.2

Cheers

Mr Warby

Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: Problem testing the Android.BarcodeScanner app
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 9, 2014 1:25 PM   in response to: Stev Warby in response to: Stev Warby
Am 09.10.2014 16:06, schrieb Stev Warby:
I get the following error:

Checking project dependencies...
Compiling DelphiAndroidBarCodeReaderApp.dproj (Release, Android)
[CreateAndroidManifestFile Warning] android:hardwareAccelerated attribute not found. Please review AndroidManifest.template.xml
dcc command line for "DelphiAndroidBarCodeReaderApp.dpr"
c:\program files (x86)\embarcadero\studio\15.0\bin\dccaarm.exe -$D0 -$L- -$Y- --no-config -M -Q -TX.so
-AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;
DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DRELEASE -E.\Android\Release -I"c:\program files (x86)\embarcadero\studio\15.0\lib\Android\Release";
"C:\Program Files (x86)\Devart\MyDAC for RAD Studio XE7\Lib\Android" -LEC:\Users\Public\Documents\Embarcadero\Studio\15.0\Bpl\Android
-LNC:\Users\Public\Documents\Embarcadero\Studio\15.0\Dcp\Android -NU.\Android\Release -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files
(x86)\embarcadero\studio\15.0\lib\Android\Release";"C:\Program Files (x86)\Devart\MyDAC for RAD Studio XE7\Lib\Android" -R"c:\program files
(x86)\embarcadero\studio\15.0\lib\Android\Release";"C:\Program Files (x86)\Devart\MyDAC for RAD Studio XE7\Lib\Android" -U"c:\program files
(x86)\embarcadero\studio\15.0\lib\Android\Release";"C:\Program Files (x86)\Devart\MyDAC for RAD Studio XE7\Lib\Android"
--libpath:C:\Users\Public\Documents\Embarcadero\Studio\15.0\PlatformSDKs\android-ndk-r9c\platforms\android-14\arch-arm\usr\lib;
C:\Users\Public\Documents\Embarcadero\Studio\15.0\PlatformSDKs\android-ndk-r9c\sources\cxx-stl\gnu-libstdc++\4.8\libs\armeabi-v7a
--linker:C:\Users\Public\Documents\Embarcadero\Studio\15.0\PlatformSDKs\android-ndk-r9c\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe
-NO.\Android\Release DelphiAndroidBarCodeReaderApp.dpr
[DCC Warning] Android.BarcodeScanner.pas(39): W1010 Method 'Create' hides virtual method of base type 'TComponent'
[DCC Error] Android.BarcodeScanner.pas(77): E2003 Undeclared identifier: 'aeBecameActive'
[DCC Error] Android.BarcodeScanner.pas(77): E2008 Incompatible types
[DCC Error] Android.BarcodeScanner.pas(122): E2003 Undeclared identifier: 'stringtojstring'
[DCC Error] Android.BarcodeScanner.pas(124): E2003 Undeclared identifier: 'sharedactivity'
[DCC Error] Android.BarcodeScanner.pas(124): E2066 Missing operator or semicolon
[DCC Fatal Error] MainUnit.pas(11): F2063 Could not compile used unit 'Android.BarcodeScanner.pas'
Failed
Elapsed time: 00:00:00.2

Cheers

Mr Warby


Hello,

a few JNI support routines where moved to other units.
I just don't remember the names of the new units right now .
But one such function was StriongToJString.

Greetings

Markus
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02