添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

ParseError at [row,col]:[18,9] Message: expected start or end tag i am getting this error while running [closed]

Ask Question

Want to improve this question? Add details and clarify the problem by editing this post .

Closed 2 years ago .

here is my manifest file code i am getting this error"ParseError at [row,col]:[18,9] Message: expected start or end tag i am getting this error while running"

<?xml version="1.0" encoding="utf-8"?>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<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">
    <activity android:name=".fare">
        android:windowsSoftInputMode="adjustResize">
    </activity>
    <activity android:name=".PoolActivity" />
    <uses-library
        android:name="org.apache.http.legacy"
        android:required="false" />
    <meta-data
        android:name="com.google.android.geo.API_KEY"
        android:value="@string/map_key" />
    <activity android:name=".BottomNavigation" />
    <activity android:name=".Registration" />
    <activity android:name=".MainActivity">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

Probably the '>' at the end of the line, remove it.

 <activity android:name=".fare" >  // <-- Before
 <activity android:name=".fare"  // <-- After