Hi All, i am working on wrapping a library for a client, the jar file and xml file compile just fine, i have copied both files to my /additionallibraries folder but when I run an example app to test the library i get the following errors:
I have copied the merchan-sdk-3.2.2.aar file to the /additionallibraries folder as well and I have jetified the file also, I'm not sure if there's anything else I need to add to the manifest file, as there's nothing in the documentation about adding anything else.
I know i may not be providing too much details as even I'm very confused about this issue, normally when I wrap libraries I've never had this type of issues before, according to their documentation the following code is all that is needed to initialize the SDK.
the java code for the wrapper is as follows:
In the wrapper the library DependsOn merchant-sdk-3.2.2.aar file
I'm using the latest B4A version.
Hope someone can give me a hint about what I may be doing wrong.
Thanks,
Walter
Generating R file. Error
C:\Android_SDK\tools\..\extras\b4a_local\unpacked-merchant-sdk-3.2.2.androidx-63730710555924\res\layout\fragment_signature_view.xml:36: error: Error: No resource found that matches the given name (at 'layout_toStartOf' with value '@id/cc_number').
C:\Android_SDK\tools\..\extras\b4a_local\unpacked-merchant-sdk-3.2.2.androidx-63730710555924\res\layout\fragment_signature_view.xml:36: error: Error: No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/cc_number').
C:\Android_SDK\tools\..\extras\b4a_local\unpacked-merchant-sdk-3.2.2.androidx-63730710555924\res\layout\fragment_tx_failed.xml:13: error: Error: No resource found that matches the given name (at 'layout_above' with value '@id/transaction_status').
C:\Android_SDK\tools\..\extras\b4a_local\unpacked-merchant-sdk-3.2.2.androidx-63730710555924\res\layout\fragment_tx_failed.xml:23: error: Error: No resource found that matches the given name (at 'layout_above' with value '@id/transaction_status').
C:\Android_SDK\tools\..\extras\b4a_local\unpacked-merchant-sdk-3.2.2.androidx-63730710555924\res\layout\fragment_tx_failed.xml:75: error: Error: No resource found that matches the given name (at 'layout_above' with value '@id/call_support_message').
C:\Android_SDK\tools\..\extras\b4a_local\unpacked-merchant-sdk-3.2.2.androidx-63730710555924\res\layout\fragment_tx_failed.xml:96: error: Error: No resource found that matches the given name (at 'layout_above' with value '@id/btn_dismiss').
C:\Android_SDK\tools\..\extras\b4a_local\unpacked-merchant-sdk-3.2.2.androidx-63730710555924\res\layout\fragment_tx_success.xml:138: error: Error: No resource found that matches the given name (at 'layout_above' with value '@id/receipt_button_layout').
C:\Android_SDK\tools\..\extras\b4a_local\unpacked-merchant-sdk-3.2.2.androidx-63730710555924\res\layout\fragment_tx_success.xml:145: error: Error: No resource found that matches the given name (at 'id' with value '@id/receipt_button_layout').
I have copied the merchan-sdk-3.2.2.aar file to the /additionallibraries folder as well and I have jetified the file also, I'm not sure if there's anything else I need to add to the manifest file, as there's nothing in the documentation about adding anything else.
I know i may not be providing too much details as even I'm very confused about this issue, normally when I wrap libraries I've never had this type of issues before, according to their documentation the following code is all that is needed to initialize the SDK.
Java:
public class SampleApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
SumUpState.init(this);
}
the java code for the wrapper is as follows:
Java:
public void Initialize(BA ba, String EventName) {
mba = ba;
mEventName = EventName.toLowerCase(BA.cul);
SumUpState.init(mba.activity);
}
In the wrapper the library DependsOn merchant-sdk-3.2.2.aar file
I'm using the latest B4A version.
Hope someone can give me a hint about what I may be doing wrong.
Thanks,
Walter