Blog Entry #7
February 10, 2016
Created a Hello World program for the Android in Android Studio in order to get a better grasp of the software and developing for Android. The program used the IceCreamSandwich (Android 4.0.3) SDK, and began with a blank template. There were a few roadblocks that I hit with the program between first creating it, and once I finally got it to work.
The first roadblock was that there was an error being reported with the rendering. After researching into this to determine what the problem was, the error was being caused by trying to compile the program with the version 23 API. After switching this to version 17, and Rebuilding the project, the error ceased to be a problem.
After this, the second issue was that a class error was being reported. What is interesting is that even though this error shows up when trying to configure the layout of the app, it does not affect the debugging and the running of the app in the Nexus 4 emulator. In my research to find a solution, I was unable to find anything online indicating to what could be causing this error, and I found no discrepencies in the app files.
The app was able to run in the emulator without any issues. Once I get the android phone from Dr. Pankratz, I will determine if the issue is with the Android Studio software, or with the program itself.