草庐IT

page-source

全部标签

widget - flutter : How to navigate to new page after state change?

状态改变后如何导航到新页面?我有一个需要先登录的应用程序。只有在登录后,应用程序组件才会完全创建。所以我写了这样的东西:主应用classAppComponentStateextendsStateimplementsCredentialProvider{Credentialcredential;@overrideWidgetbuild(BuildContextcontext){if(credential==null){returnnewMaterialApp(routes:{'/':(BuildContextcontext)=>newLoginPage(this),},);}else{r

android - 构建 yasm/source/patched-yasm/util.h :78:23: error: libintl. h 时出错:没有这样的文件或目录

构建将近半小时后,出现以下错误。到目前为止,谷歌搜索没有任何帮助......Infileincludedfromexternal/chromium_org/third_party/yasm/source/patched-yasm/libyasm/phash.c:2:external/chromium_org/third_party/yasm/source/patched-yasm/util.h:78:23:error:libintl.h:Nosuchfileordirectorymake:***[out/host/darwin-x86/obj/STATIC_LIBRARIES/thir

android - 调试 Android 应用程序时出现 No source attachment 错误

我刚刚开始使用Eclipse在MacOSX上进行Android开发。在调试Activity时,我不断收到以下错误:TheJARfile/platforms/android-10/android.jarhasnosourceattachment.这开始变得很烦人,这是否意味着某处某处抛出异常?(消息本身没有提供任何有意义的信息来说明为什么会发生这种情况)我不想进入源头;Eclipse是否默认执行此操作?如何禁用它? 最佳答案 看起来您的应用程序中有一些错误。Android子系统抛出异常。通常,如果此类异常源自android,您将看到此

android - react-native android assembleDebug日志: Unknown source file : warning: string 'catalyst_debugjs' has no default translation

测试一个新的react-native项目:react-nativeinitreact-native运行-android日志:...:app:bundleDebugJsAndAssetsSKIPPED:app:processDebugManifest:app:processDebugResourcesUnknownsourcefile:warning:string'catalyst_debugjs'hasnodefaulttranslation.Unknownsourcefile:warning:string'catalyst_element_inspector'hasnodefault

安卓NDK : custom WebView compiling from source

我的目标是在Android中创建WebView的修改版本(称为WebViewCustom)以供我在我的应用程序中使用。WebView是基于WebKit的,所以我需要通过NDK在C中编译它。我现在没有兴趣参与开源的Android项目,所以我的需求只是能够编译WebView的原始C源代码,并在我的Android应用程序中将其用作自定义控件(SDK和NDK都是可能的环境)为申请)。我认为没有我不感兴趣的所有GITWebKit东西是可能的,但我不是Android和WebKit项目的专家。是否可以只编辑和编译WebView代码并将其作为新控件放入我的应用程序中?你能告诉我这个任务的主要步骤吗?

android - 错误 : Source Path does not exist for android icon png when building for ionic

Yoursysteminformation:CordovaCLI:6.5.0IonicCLIVersion:2.2.1IonicAppLibVersion:2.2.0OS:macOSSierraNodeVersion:v6.9.5Xcodeversion:Xcode8.2.1Buildversion8C1002我正在尝试使用ionicplatformaddandroid创建一个android项目,但它总是提示resources/android/icon/drawable-hdpi-icon.png不存在。事实上它不存在——这些资源都不存在。它们可以通过ionicresources创建。

android - 是否可以使用 Facebook SDK 将 "Like"转换为 "fan page"?

我试图让用户在Android应用程序中“喜欢”Facebook粉丝页面。我能够使用这样的代码成功地“喜欢”诸如墙评论之类的对象,mFacebook=newFacebook(APP_ID);SessionStore.restore(mFacebook,this);mAsyncRunner=newAsyncFacebookRunner(mFacebook);Bundleparameters=newBundle();mAsyncRunner.request(COMMENT_ID+"/likes",parameters,"POST",newMyRequestListener(),"");但是,

android - "Page not found"当用户点击来 self 的应用程序的 Facebook 邀请时

我不确定这是否是与编程相关的问题,但由于我没有使用FacebookSDK的经验,我只是假设我在某处做错了什么,即使我已经按照文档进行了T。我正在为任何好奇的人使用UnitySDK,我正在使用FB.AppRequest将邀请发送到应用程序,我的应用程序中的代码看起来与文档中的代码完全一样。publicvoidInviteFriends(){FB.AppRequest(message:"Comeplaythisgreatgame!",callback:LogCallback);}voidLogCallback(FBResultresult){Debug.Log("Callbackwasca

android - Firebase 性能监视器导致 "D8: Unsupported source file type"

我加了applyplugin:'com.google.firebase.firebase-perf'当我运行build脚本时,我得到了/transforms/FirebasePerformancePlugin/dev/debug/174/module-info.class:D8:Unsupportedsourcefiletype这可能是什么问题?我更新了所有插件、播放服务和AndroidStudio,但没有成功 最佳答案 我通过更新gradle版本解决了这个问题类路径'com.android.tools.build:gradle:3

android - 内存不足错误 : Using a image which is 1080*1920 do the splash page

这个问题在这里已经有了答案:StrangeOutOfMemoryissuewhileloadinganimagetoaBitmapobject(44个答案)关闭7年前。我想在我的Android应用程序中实现启动页面。所以在布局xml中,有一个imageView,图像文件是一个png文件,是1080*1920,当运行应用程序时,会发生OutOfMemoryError错误,我该如何解决?XML文件:错误信息:04-1718:40:16.03829793-29793/cn.test.androidE/AndroidRuntime﹕FATALEXCEPTION:mainProcess:cn.t