iamutkarshtiwari / Ananas

An easy image editor integration for your Android apps.
MIT License
250 stars 112 forks source link

ImageEditorIntentBuilder cant find symbol #103

Open ravibirla1 opened 2 years ago

ravibirla1 commented 2 years ago

ImageEditorIntentBuilder this class is not found in activity

try { Intent intent = new ImageEditorIntentBuilder(this, sourceImagePath, outputFilePath) .withAddText() // Add the features you need .withPaintFeature() .withFilterFeature() .withRotateFeature() .withCropFeature() .withBrightnessFeature() .withSaturationFeature() .withBeautyFeature() .withStickerFeature() .forcePortrait(true) // Add this to force portrait mode (It's set to false by default) .setSupportActionBarVisibility(false) // To hide app's default action bar .build();

        EditImageActivity.start(activity, intent, PHOTO_EDITOR_REQUEST_CODE);
    } catch (Exception e) {
        Log.e("Demo App", e.getMessage()); // This could throw if either `sourcePath` or `outputPath` is blank or Null
    }
sgarg3399 commented 2 years ago

i m also facing the same issue