As you can see I have correctly added a image.svg so that it acts in a vector way:
TheproblemhappenswhenItrytoputitasanapplicationicon:
IgoinAndroidManifest.xmlandIusuallychangethelineandroid:icon="@drawable/ic_tree"
just like I do with a drawable normal:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="genesysgeneration.svg">
<application
android:allowBackup="true"
android:icon="@drawable/ic_tree"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
I thought I would have to do something different after I saw that it did not work, but the application does not give me any other choices:
ItriedtoputtheimageinsidethemipmapfolderasIwastold,butitgaveanerror: