我正在开发一个使用Aviary SDK的摄影应用程序,一切都运行良好,但我们认为推送通知需要包含在项目中.基本上如果我包含解析框架,然后尝试构建,我会遇到大量错误.
Undefined symbols for architecture armv7:
"_ACAccountTypeIdentifierTwitter", referenced from:
-[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
"_OBJC_CLASS_$_SLRequest", referenced from:
objc-class-ref in Parse(PF_Twitter.o)
"___cxa_get_exception_ptr", referenced from:
google_breakpadPFC_::ExceptionHandler::InstallHandler() in ParseCrashReporting(exception_handler.o)
"std::string::find_first_not_of(char const*, unsigned long, unsigned long) const", referenced from:
MacStringUtilsPFC_::IntegerValueAtIndex(std::string&, unsigned int) in ParseCrashReporting(string_utilities.o)
"std::string::substr(unsigned long, unsigned long) const", referenced from:
MacStringUtilsPFC_::IntegerValueAtIndex(std::string&, unsigned int) in ParseCrashReporting(string_utilities.o)
"_OBJC_CLASS_$_ACAccountStore", referenced from:
objc-class-ref in Parse(PF_Twitter.o)
"std::string::find_first_of(char const*, unsigned long, unsigned long) const", referenced from:
MacStringUtilsPFC_::IntegerValueAtIndex(std::string&, unsigned int) in ParseCrashReporting(string_utilities.o)
"___cxa_end_catch", referenced from:
google_breakpadPFC_::ExceptionHandler::InstallHandler() in ParseCrashReporting(exception_handler.o)
_BreakpadReleasePFC_ in …Run Code Online (Sandbox Code Playgroud) 所以我们长期以来一直在我们的项目中使用Aviary SDK,没有出现任何问题.但是,当我们将Aviary版本更新为最新版本时,会发现一些奇怪的行为 - 当您首次安装捆绑在设备上的新版Aviary应用程序时,该应用程序版本较旧的Aviary版本,应用程序崩溃异常 -
FATAL EXCEPTION: IntentService[AviaryCdsService]
java.lang.IllegalStateException: Missing required api key secret
Run Code Online (Sandbox Code Playgroud)
第二批已安装的应用程序按预期工作,并且所有功能都正常运行.如果设备没有以前安装的应用程序,则不会发生崩溃并且安装运行正常.迁移时,此行为表明com.aviary.android.feather.sdk:百鸟-SDK:3.4.3.351到com.aviary.android.feather.sdk:鸟舍-SDK:3.6.3
有没有其他人有这样的问题,有没有办法避免这种崩溃?
我正在使用ionicv2和Adobe Creative SDK构建照片编辑应用程序.我已经成功实施了创意SDK.
在CSDK成功返回已编辑文件的URL后,我将包含段的页面与文件URL一起推送.
问题出在第二页,当我点击该段时,它不会切换.只有在我点击页面内的输入时才会切换.
我尝试在没有CSDK的情况下进行操作,它运行没有任何问题.
我的代码:
loadCamera(sourceType){
const options: CameraOptions = {
quality: 100,
destinationType: this.camera.DestinationType.DATA_URL,
encodingType: this.camera.EncodingType.JPEG,
mediaType: this.camera.MediaType.PICTURE,
sourceType: sourceType
}
this.camera.getPicture(options).then((imageData) => {
// imageData is either a base64 encoded string or a file URI
// If it's base64:
let base64Image = 'data:image/jpeg;base64,' + imageData;
var thisModule = this;
function success(newUrl) {
console.log("Success Editing!", newUrl);
thisModule.goToCreate(newUrl);
}
function error(error) {
console.log("Error!", error);
}
/* Optional `options` object. See API guide for usage. */
var options = …Run Code Online (Sandbox Code Playgroud) 我正在使用Aviary在我的Android应用程序中编辑图像,但我发现返回的图像比原始图像小.
例如,我将2560x1920的大图像过去到鸟舍,但返回的图像是480x640.
这是我的代码:
private void startFeather(Intent data) {
File file = getBitmapFromResult(data);
BitmapInfo bitmap = Helper.getBitmap(file, App.screenWidth, 0);
toastLong("raw photo: " + bitmap.getWidth() + "x" + bitmap.getHeight());
Uri uri = Uri.fromFile(file);
this.featherOutputFile = new File(App.Path.tempDir(), "111" + ".jpg");
// Create the intent needed to start feather
Intent newIntent = new Intent(self, FeatherActivity.class);
// set the source image uri
newIntent.setData(uri);
// pass the required api key ( http://developers.aviary.com/ )
String API_KEY = "aaabbbccc";
newIntent.putExtra("API_KEY", API_KEY);
// pass the uri of the …Run Code Online (Sandbox Code Playgroud) 只是测试我的应用程序,发现在我将Nexus 5升级到Lollipop/5.0之后,我在其中使用的Aviary SDK崩溃了很长时间.
在谷歌搜索中,我发现一个问题,昨天问了同样的问题,但用户已经删除了该问题(我可以通过谷歌缓存查看).
当我在Android L上运行我的项目时,每次都会出现错误:11-20 09:27:38.560:A/art(13974):art/runtime/check_jni.cc:65]应用程序中的JNI检测错误:调用JNI GetFieldID在int com.aviary.android.feather.headless.moa.Moa.n_init(android.content.Context,java.lang.String,int)中抛出异常"java.lang.NoSuchFieldError": - 2任何人都有任何解决方案为了这?谢谢.ps,sdk <= 4.4很好
我的问题完全相同 - 它在5.0之前和我的另一部手机(Galaxy S2与4.1.3)上工作,它完美无缺.
我使用Aviary SDK开发了两个应用程序,两者都有不同的密钥. 应用链接是:
从Play商店安装这两个应用程序时,我遇到了一个奇怪的问题.如果已经在设备中安装了一个,那么在安装其他设备时,它会给我重复的提供商权限.
但是我为这两个应用程序创建了不同的密钥并分别放入了这些密钥.即使我收到此错误.
我该如何解决这个问题?
对于使用ART的一些用户,我使用Aviary SDK会遇到一个奇怪的错误.我很困惑为什么会发生这种情况(显然只有4.4.x)因为在Dalvik上调用此SDK时应用程序运行正常.任何人都有任何想法来解决这个问题?Aviary声称它是PhoneGap/Cordova问题(我们的基础),但我不认为这是问题,因为它只在活动启动时触发.
06-06 09:45:36.037: D/Aviary(27701): Pictures folder: /storage/emulated/0/Pictures
06-06 09:45:36.037: D/Aviary(27701): show
06-06 09:45:36.037: D/Aviary(27701): VERSION => 3.0.4
06-06 09:45:36.037: D/Aviary(27701): VERSION => 157
06-06 09:45:36.041: I/ActivityManager(741): START u0 {dat=file:///storage/emulated/0/DCIM/Camera/1402062335694.jpg cmp=com.XXXX.app/com.aviary.android.feather.FeatherActivity (has extras)} from pid 27701
06-06 09:45:36.054: W/CursorWrapperInner(27701): Cursor finalized without prior close()
06-06 09:45:36.058: I/CordovaLog(27701): Changing log level to ERROR(6)
06-06 09:45:36.087: I/ActivityManager(741): Start proc com.XXXX.app:standalone for activity com.XXXX.app/com.aviary.android.feather.FeatherActivity: pid=28285 uid=10060 gids={50060, 3003, 1028, 1015}
......
06-06 09:45:36.320: E/art(28285): Verification failed on class com.aviary.android.feather.library.external.tracking.LocalyticsSession$UploadHandler in /data/app/com.XXXXXXX.apk because: Verifier …Run Code Online (Sandbox Code Playgroud) 我在Aviary文档中看到了"自定义内容"(https://developers.aviary.com/content),但没有说明我要如何在我正在开发的Android应用程序中介绍它.
我在哪里可以找到关于此的文档?
谢谢
我正试图通过Android Studio通过maven添加鸟舍,但我不断收到此错误:
错误:配置项目':myproj'时出现问题.无法解析配置':myproj:_devDebugCompile'的所有依赖项.找不到com.aviary.android.feather.sdk:aviary-sdk:3.4.3.350.要求:myproj:myproj:unspecified> myproj.libraries:mylib:unspecified
使用aviary android sdk使用android studio和gradle build.应用程序生成在具有32位架构的所有设备上运行正常.
相同的应用程序在64位设备中给出以下错误[例如.索尼C4]
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file
"/data/app/com.myapp/base.apk"],nativeLibraryDirectories=[/data/app/com.myapp/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libaviary_moalite.so"
Run Code Online (Sandbox Code Playgroud)
gredle.build部分
dependencies {
...
compile 'com.android.support:multidex:1.0.0'
compile 'com.facebook.fresco:fresco:0.8.1+'
compile 'com.facebook.fresco:imagepipeline-okhttp:0.8.1+'
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.adobe.creativesdk:image:4.0.0'
}
Run Code Online (Sandbox Code Playgroud)
参考那没用
使用Android Studio找不到ARM64 NDK本机库(1.3 RC)
如果使用任何解决方案,则出现相同的错
得到错误就像
Error:(16, 0) Error: NDK integration is deprecated in the current plugin. Consider trying the new experimental plugin. For details, see http://tools.android.com/tech-docs/new-build-system/gradle-experimental. Set "android.useDeprecatedNdk=true" in gradle.properties to continue using the current NDK integration.
Run Code Online (Sandbox Code Playgroud)
我不确定我在做什么错,或者根本不支持.