Skip to Content
0

Tutorial native application Android does not work

Feb 27, 2017 at 01:43 PM

26

avatar image

I followed this tutorial on the sap.com :

http://www.sap.com/developer/tutorials/hcpdo-run-native-android-app.html

But after logging in and having a pin, when I get to step 11, the application quits with these errors:

E/ODataOnlineManager: OnlineODataStore.open() failed
W/System.err: com.northwind.services.OnlineODataStoreException: com.sap.smp.client.odata.exception.ODataNetworkException: Unknown network error occured
W/System.err:     at com.northwind.services.ODataOnlineManager.openOnlineStore(ODataOnlineManager.java:67)
W/System.err:     at com.northwind.model.ProductDataSingleton.createOnlineManager(ProductDataSingleton.java:79)
W/System.err:     at com.northwind.model.ProductDataSingleton.initialize(ProductDataSingleton.java:66)
W/System.err:     at com.northwind.view.MAFLogonActivity.onLogonFinished(MAFLogonActivity.java:104)
W/System.err:     at com.sap.maf.tools.logon.logonui.api.LogonUIFacade$LogonListenerSet.onLogonFinished(LogonUIFacade.java:622)
W/System.err:     at com.sap.maf.tools.logon.manager.LogonManager.onLogonFinished(LogonManager.java:1307)
W/System.err:     at com.sap.maf.tools.logon.manager.LogonManager$4.run(LogonManager.java:417)
W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
W/System.err:     at java.lang.Thread.run(Thread.java:761)
W/System.err: Caused by: com.sap.smp.client.odata.exception.ODataNetworkException: Unknown network error occured
W/System.err:     at com.sap.smp.client.odata.online.OpenExecution.run(OpenExecution.java:115)
W/System.err: 	... 3 more
E/ProductDataSingleton: Unable to open OData Online Store
E/ProductDataSingleton: Store not open
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
                  Process: com.northwind.nwandroid, PID: 7387
                  java.lang.RuntimeException: Unable to start activity ComponentInfo{com.northwind.nwandroid/com.northwind.view.ProductListActivity}: android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class fragment
                      at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
                      at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
...

Do you know what may be my problem?

hcp
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers