Using Android Studio 4.1.2
Build #AI-201.8743.12.41.7042882, built on December 19, 2020
Runtime version: 1.8.0_242-release-1644-b3-6222593 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.8.0-40-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1246M
Cores: 4
Registry: ide.new.welcome.screen.force=true, external.system.auto.import.disabled=trttine ue
Non-Bundled Plugins: org.jetbrains.kotlin, com.wakatime.intellij.plugin, mobi.hsz.idea.gitignore
Current Desktop: ubuntu:GNOME
Getting an error in mainActivity.kt. Am being required to import android.annotation.SuppressLint and androidx.annotation.RequiresAPI.
Two Android errors:
- Missing Constraints in ConstraintLayout
- activity_cheat.xml
- This view is not constrained. It only has designtime positions, so it will jump to (0,0) at runtime unless you add the constraints
- This view is not constrained. It only has designtime positions, so it will jump to (0,0) at runtime unless you add the constraints
and 4 General errors: - General
- Annotator
- MainActivity.kt
- Unresolved reference: view
- Unresolved reference: view
- Unresolved reference: view
- Unresolved reference: RESULT_CODE_CHEAT
All other files identical to sample code. Ideas please.
paul