In the package, /ui/cinema/model/, there are several classes I didn't want them to be obfuscated, so i declare the following lines in my proguard config file:
-keep public class com.example.ui.cinema.model.** {*;}
-keep public class com.example.ui.cinema.model.**$* {*;}
For most of the classes in that foler, it's working fine, except "CinemaCityModel":
package com.example.ui.cinema.model;
public class CinemaCityModel
{
public static final String CUR_CITY_NAME_SORT="CURRENT";
public static final String HOT_CITY_NAME_SORT="HOT";
private String CityId;
private String CityName;
private String NameSort;
public String getCityId()
{
return CityId;
}
public void setCityId(String cityId)
{
CityId = cityId;
}
public String getCityName()
{
return CityName;
}
public void setCityName(String cityName)
{
CityName = cityName;
}
public String getNameSort()
{
return NameSort;
}
public void setNameSort(String nameSort)
{
NameSort = nameSort;
}
}
I anti-compiled the apk, and cannot find CinemaCityModel. But it's in that package in my sourcecode. It's obfuscated and i dont know why. Anyone met this? Please help, thanks :)
0 comments:
Post a Comment