cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Cloud Platform SDK for Android Wizard : Issue in 'Server Connection'

sPatil
Participant
0 Kudos

Hi

I am facing issue in 'SCP SDK for Android Wizard' while creating new project. Below are the steps I am following & issue I am facing---

1) In 'Android Studio', creating new project through 'Start a new Cloud Platform Android Project',

2) In 'Server Connection' tab, I am clicking on 'Next' for existing 'Account' (as I had already created 'Account' & earlier successfully created projects also).

3) Now issue is, even on selecting 'Next' button, the next tab i.e. 'Cloud Configuration' is not coming and system flow remains on the same tab i.e. 'Server Connection'.

4) I am tried with adding 'New Account' but while adding the new account also it is showing the same issue.

PFA image for ref.capture.png

Accepted Solutions (0)

Answers (4)

Answers (4)

sPatil
Participant
0 Kudos

Hi Britt, Hi Daniel,

As I have reinstalled the Android Studio, this issue has been resolved. Now I am able to proceed to next tab i.e. 'Cloud Configuration'.

Thanks a lot for your comments & prompt help.

Dan_vL
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hopefully the log file contains some clue as to what the error might be.

Ideally some text should appear in red in the bottom left when you click the next button if there is a connection error when attempting to go from the Server Connection tab to the Cloud Configuration tab.

A few other things to check. What version of Android Studio are you using? Help > About
Do you by chance require an HTTP Proxy to access the internet on your network? If so, this can be set in the Android Studio settings (search for proxy in the settings screen).

Regards,
Dan van Leeuwen

sPatil
Participant
0 Kudos

Hi Daniel,

1) Yeah..the log file might contains some clue about the error but right now I really don't know how to identify it in the log file. Kindly advice.

2) There is no any text in RED is appearing when I am clicking on NEXT button in 'Server Connection' tab; only I am able to see is 'loading' symbol.

3) Android version 3.3.0 I am using & I am not using any HTTP proxy to access the internet.

Kindly note, earlier I was able to create new SCP Android project & successfully created couple of projects too.

BWomelsdorf
Advisor
Advisor
0 Kudos

Sourabh - you should be able to upload the log file now that it is a .txt file.

sPatil
Participant
0 Kudos

Hi Britt,

Yes, In my Mobile Services Cockpit, I have created fewer than 5 applications.

You are correct, I am using SDK 2.0 & that 'Account Name' was 'Editable' at the start but once I click on 'Next' button then it was greying out.

Sorry, I am not able to find the 'idea.log' file. Will you please tell me the steps to get it?

Also, for your more ref. I am sharing screenshots from Mobile Services Cockpit & Android Studio.

issue-mob-services-cockpit.pngissue-android-studio.png

BWomelsdorf
Advisor
Advisor
0 Kudos

Are you using a Windows machine?

BWomelsdorf
Advisor
Advisor
0 Kudos

In Android Studio, click on the "Help" menu then "Show Log in Explorer" if you are on a windows machine or "Show Log in Finder" if you are on a mac.

Is the behavior you are seeing repeatable?

sPatil
Participant
0 Kudos

I am using Windows machine. As suggested, I am able to see the text file naming 'idea' (PFA image) in my system but when I am trying to attach the .txt file (idea) then I am getting warning message (PFA image). The thing is, the 'idea' file is already a text file still SAP is not allowing me to upload it.

idea-log.pngattchment-warning.png

BWomelsdorf
Advisor
Advisor
0 Kudos

The idea file has text in it but I believe it's a .log file. You'll need to make a copy and rename it as .txt. When you go into the wizard now it shows the connection name even from the beginning as read only?

sPatil
Participant
0 Kudos

There is no any file naming '.log'. If I am not wrong, text file naming 'idea' is present inside folder 'log' (please see the below image).

I am still not able to create new SCP Android Project. Kindly let me know if I am missing something or if you wanted me to check any particular thing in the 'idea' text file then let me know.

BWomelsdorf
Advisor
Advisor
0 Kudos

Im pretty sure it's a .log file - you may have explorer set to "Hide known extensions". If you go to a command prompt (or turn off that option), I'm pretty sure the actual file name is idea.log.

sPatil
Participant
0 Kudos

Yes you are correct; the file extension was hidden and the 'idea.log' file. Now moving to your below recommendation,

1) I have copied the file & renamed it as .txt. Kindly let me know which 'Application Information' you wanted me to share with you from this idea text file?

2) When I go to wizard, the connection name or 'server connection details' are editable i.e. they are not read only from the beginning. PFB image.

BWomelsdorf
Advisor
Advisor
0 Kudos

Can you please validate that you have fewer than 5 applications already created in your Mobile Services cockpit? Even if this is the issue we should give a better answer, but it'd be good to know. Also, what version of the SDK are you using? It's kind of strange that the Account Name is greyed out. In my implementation it's editable.

BWomelsdorf
Advisor
Advisor
0 Kudos

From the screenshot it does appear that you are using SDK 2.0. You might also want to share any applicable information from the idea.log file. On my Mac I can find that by clicking "Help...Show Log in Finder".