Category Archives: android-securityexception

Apache Cordova Error when publishing app in the google play stores

I had searched every where i havnt got any solution regarding this error and i am not able to understand why i am getting this error i had no dangerous products in it please anybody guide are solution for that please this is the main activity did i need to make any changes in it?
public class MainActivity extends AppCompatActivity implements OnNavigationItemSelectedListener {

    DrawerLayout drawerLayout;
    View content;
    private ActionBarDrawerToggle mDrawerToggle;
    private boolean home = true;
    TextView tv_name,tv_phone;
    Session session;
    String seson_name,seson_phone;
    SharedPreferences.Editor logineditor;

    protected void onCreate(Bundle savedInstanceState) {
        // Session class instance
        session = new Session(getApplicationContext());
        // get user data from session
        HashMap<String, String> user = session.getUserDetails();
        // name
        seson_name = user.get(Session.KEY_UNAME);
        seson_phone= user.get(Session.KEY_PHONE);



this the project structure please check it how can add the cordova here Please check this to know the error from the google