Closed mariedilworth closed 5 years ago
After locating activity_main.xml I am now getting "URI not registered" errors...
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background"
android:orientation="vertical"
tools:context=".app.MainActivity">
<FrameLayout
android:id="@+id/contentLayout"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</RelativeLayout>
Managed to run the app by syncing with Gradle files and updating something in my android studio. Running ok now.
Adjust the source in tools:context
Could some basic instructions be provided about how to run this code in Android studio? I'm new to Android development and so it's not entirely obvious to me how to integrate this code into an app? Thanks.