Fix lint errors for hello-jniCallback (#882)

`./gradlew lint` reports no issues.
This commit is contained in:
James Farrell
2022-11-30 12:44:55 -06:00
committed by GitHub
parent 08bd3c7a1b
commit c717e0775b
2 changed files with 5 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ android {
defaultConfig { defaultConfig {
applicationId 'com.example.hellojnicallback' applicationId 'com.example.hellojnicallback'
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 28 targetSdkVersion 33
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
} }
@@ -26,6 +26,7 @@ android {
path "src/main/cpp/CMakeLists.txt" path "src/main/cpp/CMakeLists.txt"
} }
} }
namespace 'com.example.hellojnicallback'
} }
dependencies { dependencies {

View File

@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android">
package="com.example.hellojnicallback">
<application <application
android:allowBackup="true" android:allowBackup="true"
@@ -8,7 +7,8 @@
android:label="@string/app_name" android:label="@string/app_name"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/AppTheme"> android:theme="@style/AppTheme">
<activity android:name=".MainActivity"> <activity android:name=".MainActivity"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />