我是f-droid的新手。
我已按照https://nikhiljha.com/posts/flutteronfdroid/
的步骤进行操作我的应用程序仓库是https://github.com/abhinavmarwaha/curator
我正在添加Flutter应用程序,但是构建失败。
您可以在此处找到日志:https://gitlab.com/mrabhinav/fdroiddata/-/jobs/686049890
元数据文件:
import React, { useState } from 'react';
import Layout from '../../components/layout'
import Title from '../../components/title'
import Paragraph from '../../components/paragraph'
import Modal from '../../components/modal';
import styles from './styles.module.scss';
export default function MyPage() {
const [showModal, setModal] = useState(false);
const toggleModal = () => setModal(!showModal);
// ...this is what I'm not sure how to do...
// render() {
// const loadItems = {
// bounds: {
// image: `images/bounds.jpg`,
// image2: 'images/bounds2.jpg'
// },
// wattle: {
// image: `images/wattle.jpg`
// }
// }
return (
<main>
<Modal visible={showModal} toggleModal={toggleModal} />
<div className={styles.project}>
<button onClick={toggleModal} loadItems={bounds}> Hey open bounds content </button>
</div>
<div className={styles.project2}>
<button onClick={toggleModal} loadItems={wattle}> Hey open wattle content </button>
</div>
</main>
)
}
显然,颤振引擎找不到该应用程序包,我不知道为什么会这样。请帮助。