Я пытаюсь запутать мой код приложения для Android с помощью ProGuard
. Но после этого мое приложение дает исключение при запуске:
11-15 01:46:26.818: W/System.err(21810): java.lang.RuntimeException: Missing type parameter.
11-15 01:46:26.828: W/System.err(21810): at da.<init>(Unknown Source)
11-15 01:46:26.828: W/System.err(21810): at gc.<init>(Unknown Source)
11-15 01:46:26.828: W/System.err(21810): at fx.f(Unknown Source)
11-15 01:46:26.828: W/System.err(21810): at com.yourshows.activity.UnwatchedActivity.onResume(Unknown Source)
Я проверил файл mapping
и нашел это:
com.google.gson.reflect.TypeToken -> da:
Я думаю, что это строки в моем приложении, например:
Type mapType = new TypeToken<Map<Integer, WatchedEpisodes>>(){}.getType(); // define generic type
jsData = gson.fromJson(r, mapType);
Я не могу понять, какие выводы следует делать? Не используйте имя переменной менее трех символов или что?
UPD: answer