Manifest code

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="com.example.paulr.translaation_project"> <uses-permission android:name="android.permission.INTERNET"/>. <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme" tools:ignore="GoogleAppIndexingWarning"> <activity android:name=".First_Layout.MainActivity" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".Second_Layout.TranslateActivity"> <intent-filter> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> 

Mistake:

 ERROR: Failed to parse XML in C:\Users\paulr\AndroidStudioProjects\Translaation_Project\app\src\main\AndroidManifest.xml ParseError at [row,col]:[7,5] Message: expected start or end tag Affected Modules: app 

What could be the problem?

  • 3
    "<uses-permission android: name =" android.permission.INTERNET "/>." - is there really a dot at the end? - Vasil Baymurzin

0