Office Hours — Today, October 19

Yesterday, October 18

Oct 19
8:55 AM
Mark M.
has entered the room
Mark M.
turned on guest access
HighwayRob
has entered the room
Mark M.
hello, Rob!
how can I help you today?
HighwayRob
Good Morning Mark. I am ready to chat when you!
Can I send screen shots in here?
Mark M.
sure -- click the "Upload a file" link in the sidebar
or, upload the image elsewhere and paste a link in here
9:00 AM
HighwayRob
I have a project that when I upgraded Andoid Studio from v2 to V3 it does not compile. I seem to have lost a module or it is unaware of gradle or something.
I also moved Android Studio from my C: drive to D: drive.
Mark M.
Android Studio is showing that you have a D:\DroidStructSysV216\DroidStructSysV216 directory structure -- is this correct?
and, further, a D:\DroidStructSysV216\DroidStructSysV216\hilightsTechMan directory?
HighwayRob
yes..see attached
cool...jpg's display as we chat...ok,
Mark M.
your project is the hilightsTechMan directory
you need to open that in Android Studio, not its parent or grandparent directory
9:05 AM
HighwayRob
Holy Gradle Batman...almost there.!
Mark M.
if you created the project with Android Studio 2.x, and are now trying to open it in Android Studio 3.x, you may need to make some modifications
in some cases, the IDE will do that for you, via a popup dialog
in this case, it isn't, for whatever reason
I have never used getApplicationIdSuffix() in a build.gradle file, so I do not know exactly what would need to be changed there
9:10 AM
HighwayRob
Android Studio says something about updating Gradle when it starts, let me close it down and reopen and let it update.
Mark M.
in general, I do not recommend that newcomers to Android use pre-release versions of Android Studio
HighwayRob
LOL...Android Studio seemed pretty persistent that I update, leading edge = bleeding edge.
Mark M.
Google's priorities != your priorities
9:15 AM
HighwayRob
Well the detailed log is not very explanatory, I think I will send it to the local developer that created this project with me (if he will answer the phone\email). I guess he is that busy.
View paste (13 more lines)
Caused by: org.gradle.tooling.model.UnsupportedMethodException: Unsupported method: BaseConfig.getApplicationIdSuffix().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.
	at org.gradle.tooling.model.internal.Exceptions.unsupportedMethod(Exceptions.java:33)
	at org.gradle.tooling.internal.adapter.ProtocolToModelAdapter$InvocationHandlerImpl.invoke(ProtocolToModelAdapter.java:359)
	at com.sun.proxy.$Proxy151.getApplicationIdSuffix(Unknown Source)
	at com.android.tools.idea.gradle.project.model.ide.android.IdeBaseConfig.<init>(IdeBaseConfig.java:53)
	at com.android.tools.idea.gradle.project.model.ide.android.IdeProductFlavor.<init>(IdeProductFlavor.java:53)
	at com.android.tools.idea.gradle.project.model.ide.android.IdeProductFlavorContainer.lambda$new$0(IdeProductFlavorContainer.java:41)
	at com.android.tools.idea.gradle.project.model.ide.android.ModelCache.lambda$computeIfAbsent$0(ModelCache.java:31)
	at java.util.HashMap.computeIfAbsent(HashMap.java:1126)
	at com.android.tools.idea.gradle
...
Mark M.
you might look at the build.gradle files (one in project root, one in each module such as app/) and see if that getApplicationIdSuffix name appears there
9:20 AM
Mark M.
if it is, perhaps we can modify the file to skip that call
9:25 AM
HighwayRob
I think I will give this one a rest and pass it back to the developer. We have it identified pretty good. If I don't get help, I will get back to you. This is an oddball one time deep issues. I would rather use my time finishing the exercises I am working on that I will use in my upcoming project. I would rather pay to get this fixed.
Mark M.
OK
9:30 AM
HighwayRob
Thank you for your help. I like this format and see how I can get the issues you helped with during this past week, addressed in this format. Most of the stuff I am running into as I do the exercises is pretty simple errors. I found a web page that the authors published to address syntax errors in their work exercises (that is helping also). I have about two more chapters to go and then I will be working on the design document, then diving into the development. I am sure I will be in touch. Thank you for your support. When you get a chance, check out www.BanditTime.com it is what I do for fun. Have a great day.
Mark M.
happy to be useful!
9:35 AM
HighwayRob
has left the room
9:55 AM
HighwayRob
has entered the room
Mark M.
hi again!
we're running out of chat time -- do you have a quick question?
HighwayRob
ok..I got closer. Found info on StackOverflow, did some updates. Here is latest err.
Mark M.
I have not seen that message before
it is complaining about a file in the build/ directory tree, which represents the output of the build process
if you have not done so already, from the main menu, choose Build > Clean Project, then Build > Rebuild Project, and see if that clears up this problem
HighwayRob
same result...I will look around some more. Have a great day...Office Hours over!
10:00 AM
Mark M.
yup, that's a wrap for today's chat
the transcript will be posted to https://commonsware.com/office-hours/ shortly
the next chat is tomorrow at 4pm US Eastern
have a pleasant day!
HighwayRob
has left the room
Mark M.
turned off guest access

Yesterday, October 18

 

Office Hours

People in this transcript

  • HighwayRob
  • Mark Murphy