Skip to content

Error deploying the application in Android Studio #5

@pelupotter

Description

@pelupotter

When I go to test the application, deploying in Android Studio, I get an error in the Constants.java class due to an imported library that is not used.


import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo; <-- this import is not used too
import android.support.annotation.NonNull; <-- Here got the error

import java.util.Arrays;
import java.util.List;

public class Constants {

    private Context context;

Sorry for my english.

Bye!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions