Skip to content

@nstudio/nativescript-camera-plus: android:attr/lStar not found #143

@dpdragnev

Description

@dpdragnev

I am using NS 8.5.3 and when I try to build the app on Android, I get the following error:

AAPT: error: resource android:attr/lStar not found.

The error seems to be in ...platforms\tempPlugin\nativescript_camera_plus\build\intermediates\merged_res\release\values\values.xml:2516

Here is my package.json:

{
  "id": "com.company.app",
  "description": "NativeScript Application",
  "license": "SEE LICENSE IN <your-license-filename>",
  "repository": "<fill-your-repository-here>",
  "scripts": {
    "debug.android": "ns clean; ns debug android --env.development",
    "build.ios": "ns clean; ns build ios",
    "debug.ios": "ns clean; ns debug ios --env.development",
    "run.ios": "ns clean; ns run ios --env.development"
  },
  "dependencies": {
    "@nativescript-community/universal-links": "^3.0.0",
    "@nativescript/appversion": "^2.0.0",
    "@nativescript/contacts": "2.1.0",
    "@nativescript/core": "8.5.1",
    "@nativescript/firebase-core": "^3.1.2",
    "@nativescript/firebase-messaging": "^3.1.2",
    "@nativescript/firebase-remote-config": "^3.1.2",
    "@nativescript/local-notifications": "^6.1.1",
    "@nativescript/social-share": "2.3.0",
    "@nativescript/theme": "3.0.2",
    "@nstudio/nativescript-camera-plus": "4.2.0",
    "@nstudio/nativescript-carousel": "^8.0.3",
    "@nstudio/nativescript-loading-indicator": "4.1.2",
    "@triniwiz/nativescript-image-cache-it": "^7.3.0",
    "moment": "^2.26.0",
    "nativescript-imagecropper": "^4.0.3",
    "nativescript-iqkeyboardmanager": "^1.5.1",
    "nativescript-numeric-keyboard": "^5.0.2",
    "nativescript-permissions": "1.3.12",
    "nativescript-ui-listview": "15.2.3"
  },
  "devDependencies": {
    "@nativescript/android": "8.5.3",
    "@nativescript/ios": "8.5.1",
    "@nativescript/types": "8.5.0",
    "@nativescript/webpack": "5.0.14",
    "typescript": "~4.5.5"
  },
  "gitHead": "d8bdf0799a219051f28f8abd5c258d2bf2fce6e1",
  "readme": "NativeScript Application",
  "main": "./app/app.ts"
}

I tried cleaning the project and building again, but this did not help.

Any idea on how to resolve this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions