質問編集履歴
1
Manifestファイルの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -103,6 +103,42 @@
|
|
103
103
|
tools:ignore="SpeakableTextPresentCheck" />
|
104
104
|
```
|
105
105
|
|
106
|
+
|
107
|
+
```Manifest
|
108
|
+
<?xml version="1.0" encoding="utf-8"?>
|
109
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
110
|
+
xmlns:tools="http://schemas.android.com/tools">
|
111
|
+
|
112
|
+
<uses-feature android:name="android.hardware.camera.any" />
|
113
|
+
<uses-permission android:name="android.permission.CAMERA" />
|
114
|
+
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
115
|
+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
116
|
+
android:maxSdkVersion="33" />
|
117
|
+
|
118
|
+
<application
|
119
|
+
android:allowBackup="true"
|
120
|
+
android:dataExtractionRules="@xml/data_extraction_rules"
|
121
|
+
android:fullBackupContent="@xml/backup_rules"
|
122
|
+
android:icon="@mipmap/ic_launcher"
|
123
|
+
android:label="@string/app_name"
|
124
|
+
android:roundIcon="@mipmap/ic_launcher_round"
|
125
|
+
android:supportsRtl="true"
|
126
|
+
android:theme="@style/Theme.CameraIntentSample"
|
127
|
+
tools:targetApi="31">
|
128
|
+
<activity
|
129
|
+
android:name=".MainActivity"
|
130
|
+
android:exported="true">
|
131
|
+
<intent-filter>
|
132
|
+
<action android:name="android.intent.action.MAIN" />
|
133
|
+
|
134
|
+
<category android:name="android.intent.category.LAUNCHER" />
|
135
|
+
</intent-filter>
|
136
|
+
</activity>
|
137
|
+
</application>
|
138
|
+
|
139
|
+
</manifest>
|
140
|
+
```
|
141
|
+
|
106
142
|
### 試したこと
|
107
143
|
線が引かれて非推奨の部分を変えてみたりSDKバージョンを変更してみたが出来なかった
|
108
144
|
またlogcatのエラーにあるonCameraImageClickメソッドのonClickの設定忘れでもなかった
|