Gre*_*der 5 android project android-studio
我已经根据自己和这里发现的所有内容重命名了一个项目,但它的工作原理只有一点点.
它似乎已重命名,但是当您检查设备中的应用信息或卸载它时,旧名称仍然存在.
我怎样才能完全重命名?
旧名称是WifiHome,我想将其重命名为Wifi Sentinel.
的build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "org.grenderg.wifisentinel"
minSdkVersion 14
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.0.+'
compile 'com.android.support:gridlayout-v7:22.0.0'
compile 'com.android.support:palette-v7:22.0.0'
compile 'com.android.support:recyclerview-v7:22.0.0'
compile 'com.android.support:cardview-v7:22.0.0'
compile 'com.android.support:support-v4:22.0.0'
}
Run Code Online (Sandbox Code Playgroud)
AndroidManifest.xml中:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.grenderg.wifisentinel" >
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="true"
android:icon="@mipmap/icon"
android:label="@string/appName"
android:theme="@style/WifiSentinel">
<activity
android:name="org.grenderg.wifisentinel.activities.BaseActivity"
android:label="@string/appName"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service
android:name="org.grenderg.wifisentinel.services.WifiScanService"
android:enabled="true"
android:exported="false" >
</service>
</application>
</manifest>
Run Code Online (Sandbox Code Playgroud)
appName = Wifi Sentinel
在任何地方重命名但不在此处的信息:

| 归档时间: |
|
| 查看次数: |
31123 次 |
| 最近记录: |