danimahardhika / candybar-library

Android icon pack material dashboard
Apache License 2.0
497 stars 143 forks source link

Replace in Path. error with .R; #135

Closed porterhead closed 6 years ago

porterhead commented 6 years ago

Open Edit -> Find -> Replace in Path. Text to find import com.material.dashboard.candybar.sample.R;. Replace with import com.your.package.name.R;, example import com.daeva112.iconpack.kendra.free.R;. Click Find then choose All Files.

as you said i did this step but error ,see image 2

1 2
danimahardhika commented 6 years ago

Have you done setup your project until you see "DONE, you are ready to use CandyBar in your Icon Pack"?

If not, then continue first

danimahardhika commented 6 years ago

"Sync Project with Gradle Files" It's written there

porterhead commented 6 years ago

Thanks dear It’s worked

porterhead commented 6 years ago

App is successfully built but not appeared in drawer after installed what is error ? may problem with intent filter or something which is not found here

android manifest.xml

<?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.round.iconpack.chief">

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />

<application>
    <meta-data android:name="android.max_aspect" android:value="2.1" />

    <activity android:name=".activities.CandyBarCrashReport"
        android:launchMode="singleInstance"
        android:noHistory="true"
        android:theme="@style/Theme.AppCompat.Light.Dialog" />

    <activity android:name=".activities.CandyBarWallpaperActivity"
        android:launchMode="singleTop"
        android:theme="@style/WallpaperTheme"
        android:configChanges="orientation|keyboardHidden|screenSize"/>

    <service android:name=".services.CandyBarWallpapersService" />

    <service android:name=".services.CandyBarService"
        android:stopWithTask="false"/>
</application>