Application to combat the city airship

I had a problem trying to integrate PUSH notifications from Urban Airship into an Android app.

I think I have all my permission and intent filters in AndroidManifest, but the application will work right after trying to set my AirshipConfigOptions as follows:

public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    AirshipConfigOptions options = AirshipConfigOptions.loadDefaultOptions(this);
    ...
}

My error log says:

java.lang.NoClassDefFoundError: com.urbanairship.AirshipConfigOptions

Any help would be greatly appreciated.

+3
source share
1 answer

Do you use ProGuard? See this article about setting up ProGuard to work with UrbanAirship .

ADT r17 ? r17, jar "libs", "lib" ( Eclipse ). . Android.

+5

All Articles