Работаю в Android Studio, надо написать приложение. Но, оно не работает. Задача приложения: во втором активити вводим код коробки (их может быть несколько) и содержимое. В первом вводим код уже сохраненной коробки и получаем её содержимое. Xml код первого активити: “<?xml version=”1.0″ encoding=”utf-8″?> <android.support.constraint.ConstraintLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:app=”http://schemas.android.com/apk/res-auto” xmlns:tools=”http://schemas.android.com/tools” android:layout_width=”match_parent” android:layout_height=”match_parent” tools:context=”com.example.mrfair.homesklad.MainActivity”> <Button android:id=”@+id/button2″ android:layout_width=”373dp” android:layout_height=”70dp” android:layout_marginRight=”16dp”Read more